summaryrefslogtreecommitdiffstats
path: root/kernel/net/openvswitch/vport.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/openvswitch/vport.h')
-rw-r--r--kernel/net/openvswitch/vport.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/net/openvswitch/vport.h b/kernel/net/openvswitch/vport.h
index 8ea3a9698..6e2b62f9d 100644
--- a/kernel/net/openvswitch/vport.h
+++ b/kernel/net/openvswitch/vport.h
@@ -184,13 +184,6 @@ static inline struct vport *vport_from_priv(void *priv)
int ovs_vport_receive(struct vport *, struct sk_buff *,
const struct ip_tunnel_info *);
-static inline void ovs_skb_postpush_rcsum(struct sk_buff *skb,
- const void *start, unsigned int len)
-{
- if (skb->ip_summed == CHECKSUM_COMPLETE)
- skb->csum = csum_add(skb->csum, csum_partial(start, len, 0));
-}
-
static inline const char *ovs_vport_name(struct vport *vport)
{
return vport->dev->name;