Commit 49b05221 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

benet: make be_poll_rx local

Only used in one file.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3f3a5fdc
...@@ -1674,7 +1674,7 @@ static inline bool do_gro(struct be_adapter *adapter, struct be_rx_obj *rxo, ...@@ -1674,7 +1674,7 @@ static inline bool do_gro(struct be_adapter *adapter, struct be_rx_obj *rxo,
return (tcp_frame && !err) ? true : false; 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_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); struct be_rx_obj *rxo = container_of(rx_eq, struct be_rx_obj, rx_eq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment