summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-21 09:50:48 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-24 23:55:48 +0200
commit49b052215b3319b69de8e2df412d06eae41088b4 (patch)
tree8c194a08e44d4da733e79820ae66980e4716f488 /drivers/net/benet
parentbenet: remove dead code (diff)
downloadlinux-49b052215b3319b69de8e2df412d06eae41088b4.tar.xz
linux-49b052215b3319b69de8e2df412d06eae41088b4.zip
benet: make be_poll_rx local
Only used in one file. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet')
-rw-r--r--drivers/net/benet/be_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 8c3bd63b567b..12486260c928 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -1674,7 +1674,7 @@ static inline bool do_gro(struct be_adapter *adapter, struct be_rx_obj *rxo,
return (tcp_frame && !err) ? true : false;
}
-int be_poll_rx(struct napi_struct *napi, int budget)
+static int be_poll_rx(struct napi_struct *napi, int budget)
{
struct be_eq_obj *rx_eq = container_of(napi, struct be_eq_obj, napi);
struct be_rx_obj *rxo = container_of(rx_eq, struct be_rx_obj, rx_eq);