diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-09-27 11:23:03 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-10-02 15:16:33 +0200 |
commit | 837a89e39770709f7ec5245f637452b5ed3d4b1e (patch) | |
tree | 8d1db2645d70cbfc7d60099d5bde4093ba39eeda /net | |
parent | 4105f395fd8ef4b76cc6442d7f184c0b12976721 (diff) |
ip6_offload: fix compiler warning
Backports introduced the following compiler warning:
net/ipv6/ip6_offload.c:264:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function]
Remove the static function definition.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/ip6_offload.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/ipv6/ip6_offload.c b/net/ipv6/ip6_offload.c index 606a07890c68..1cb68e01c301 100644 --- a/net/ipv6/ip6_offload.c +++ b/net/ipv6/ip6_offload.c @@ -261,19 +261,6 @@ out: return pp; } -static struct sk_buff **sit_gro_receive(struct sk_buff **head, - struct sk_buff *skb) -{ - if (NAPI_GRO_CB(skb)->encap_mark) { - NAPI_GRO_CB(skb)->flush = 1; - return NULL; - } - - NAPI_GRO_CB(skb)->encap_mark = 1; - - return ipv6_gro_receive(head, skb); -} - static int ipv6_gro_complete(struct sk_buff *skb, int nhoff) { const struct net_offload *ops; |