diff options
author | Eric Dumazet <edumazet@google.com> | 2012-05-18 20:49:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-19 02:51:00 -0400 |
commit | 4adb9c4ac88d874105ac31161c9c55004a972f87 (patch) | |
tree | f46b587ba9dd2def1cdd89fb3cdc3825a4c5212a | |
parent | 968d70184d599abc7fe0a89447ef4e183e0135c4 (diff) | |
download | linux-4adb9c4ac88d874105ac31161c9c55004a972f87.tar.gz linux-4adb9c4ac88d874105ac31161c9c55004a972f87.tar.bz2 linux-4adb9c4ac88d874105ac31161c9c55004a972f87.zip |
net: napi_frags_skb() is static
No need to export napi_frags_skb()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/netdevice.h | 1 | ||||
-rw-r--r-- | net/core/dev.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 9c710bd16c41..e7fd468f7126 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -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) diff --git a/net/core/dev.c b/net/core/dev.c index 33684b6e95e2..cd0981977f5c 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -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) { |