diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-21 03:50:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 17:55:48 -0400 |
commit | 49b052215b3319b69de8e2df412d06eae41088b4 (patch) | |
tree | 8c194a08e44d4da733e79820ae66980e4716f488 /drivers | |
parent | 3f3a5fdc55e5c969aa26a5afc3bb2be33cb41fe4 (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')
-rw-r--r-- | drivers/net/benet/be_main.c | 2 |
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, | |||
1674 | return (tcp_frame && !err) ? true : false; | 1674 | return (tcp_frame && !err) ? true : false; |
1675 | } | 1675 | } |
1676 | 1676 | ||
1677 | int be_poll_rx(struct napi_struct *napi, int budget) | 1677 | static int be_poll_rx(struct napi_struct *napi, int budget) |
1678 | { | 1678 | { |
1679 | struct be_eq_obj *rx_eq = container_of(napi, struct be_eq_obj, napi); | 1679 | struct be_eq_obj *rx_eq = container_of(napi, struct be_eq_obj, napi); |
1680 | struct be_rx_obj *rxo = container_of(rx_eq, struct be_rx_obj, rx_eq); | 1680 | struct be_rx_obj *rxo = container_of(rx_eq, struct be_rx_obj, rx_eq); |