aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,
1674 return (tcp_frame && !err) ? true : false; 1674 return (tcp_frame && !err) ? true : false;
1675} 1675}
1676 1676
1677int be_poll_rx(struct napi_struct *napi, int budget) 1677static 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);