summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-21 11:50:48 +0400
committerDavid S. Miller <davem@davemloft.net>2010-10-25 01:55:48 +0400
commit49b052215b3319b69de8e2df412d06eae41088b4 (patch)
tree8c194a08e44d4da733e79820ae66980e4716f488 /drivers/net
parent3f3a5fdc55e5c969aa26a5afc3bb2be33cb41fe4 (diff)
downloadlinux-49b052215b3319b69de8e2df412d06eae41088b4.tar.xz
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')
-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);