summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-21 07:50:48 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-24 14:55:48 -0700
commit49b052215b3319b69de8e2df412d06eae41088b4 (patch)
tree8c194a08e44d4da733e79820ae66980e4716f488 /drivers/net/benet
parent3f3a5fdc55e5c969aa26a5afc3bb2be33cb41fe4 (diff)
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 8c3bd63b567..12486260c92 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);