net: napi_frags_skb() is static
authorEric Dumazet <edumazet@google.com>
Fri, 18 May 2012 20:49:06 +0000 (20:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 May 2012 06:51:00 +0000 (02:51 -0400)
No need to export napi_frags_skb()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c

index 9c710bd16c419bf02c58911c3d4e03e9d843fbdd..e7fd468f71268f5f2727260638980c2bf8aef315 100644 (file)
@@ -2142,7 +2142,6 @@ extern struct sk_buff *   napi_get_frags(struct napi_struct *napi);
 extern gro_result_t    napi_frags_finish(struct napi_struct *napi,
                                          struct sk_buff *skb,
                                          gro_result_t ret);
-extern struct sk_buff *        napi_frags_skb(struct napi_struct *napi);
 extern gro_result_t    napi_gro_frags(struct napi_struct *napi);
 
 static inline void napi_free_frags(struct napi_struct *napi)
index 33684b6e95e2996db2165a600fb175093b1b32e0..cd0981977f5c92ee82cb42651ebfcbfb64c9c82f 100644 (file)
@@ -3602,7 +3602,7 @@ gro_result_t napi_frags_finish(struct napi_struct *napi, struct sk_buff *skb,
 }
 EXPORT_SYMBOL(napi_frags_finish);
 
-struct sk_buff *napi_frags_skb(struct napi_struct *napi)
+static struct sk_buff *napi_frags_skb(struct napi_struct *napi)
 {
        struct sk_buff *skb = napi->skb;
        struct ethhdr *eth;
@@ -3637,7 +3637,6 @@ struct sk_buff *napi_frags_skb(struct napi_struct *napi)
 out:
        return skb;
 }
-EXPORT_SYMBOL(napi_frags_skb);
 
 gro_result_t napi_gro_frags(struct napi_struct *napi)
 {