diff options
author | David S. Miller <davem@davemloft.net> | 2010-01-19 16:46:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-19 16:46:10 -0500 |
commit | 11380a4b2d86fae9a6bce75c9373668cc323fe57 (patch) | |
tree | ded9a419d836af9eb0cd0e40858aec1f0cc3b61a | |
parent | 6373464288cab09bc641be301d8d30fc9f64ba71 (diff) |
net: Unexport napi_gro_flush().
Nothing outside of net/core/dev.c uses it.
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 a3fccc85b1a0..468a11dea58c 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1527,7 +1527,6 @@ extern int netif_rx(struct sk_buff *skb); | |||
1527 | extern int netif_rx_ni(struct sk_buff *skb); | 1527 | extern int netif_rx_ni(struct sk_buff *skb); |
1528 | #define HAVE_NETIF_RECEIVE_SKB 1 | 1528 | #define HAVE_NETIF_RECEIVE_SKB 1 |
1529 | extern int netif_receive_skb(struct sk_buff *skb); | 1529 | extern int netif_receive_skb(struct sk_buff *skb); |
1530 | extern void napi_gro_flush(struct napi_struct *napi); | ||
1531 | extern gro_result_t dev_gro_receive(struct napi_struct *napi, | 1530 | extern gro_result_t dev_gro_receive(struct napi_struct *napi, |
1532 | struct sk_buff *skb); | 1531 | struct sk_buff *skb); |
1533 | extern gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb); | 1532 | extern gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb); |
diff --git a/net/core/dev.c b/net/core/dev.c index a008f6987a95..5747b9edc1bb 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -2582,7 +2582,7 @@ out: | |||
2582 | return netif_receive_skb(skb); | 2582 | return netif_receive_skb(skb); |
2583 | } | 2583 | } |
2584 | 2584 | ||
2585 | void napi_gro_flush(struct napi_struct *napi) | 2585 | static void napi_gro_flush(struct napi_struct *napi) |
2586 | { | 2586 | { |
2587 | struct sk_buff *skb, *next; | 2587 | struct sk_buff *skb, *next; |
2588 | 2588 | ||
@@ -2595,7 +2595,6 @@ void napi_gro_flush(struct napi_struct *napi) | |||
2595 | napi->gro_count = 0; | 2595 | napi->gro_count = 0; |
2596 | napi->gro_list = NULL; | 2596 | napi->gro_list = NULL; |
2597 | } | 2597 | } |
2598 | EXPORT_SYMBOL(napi_gro_flush); | ||
2599 | 2598 | ||
2600 | enum gro_result dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb) | 2599 | enum gro_result dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb) |
2601 | { | 2600 | { |