projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f3a5fd
)
benet: make be_poll_rx local
author
stephen hemminger
<shemminger@vyatta.com>
Thu, 21 Oct 2010 07:50:48 +0000
(07:50 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 24 Oct 2010 21:55:48 +0000
(14:55 -0700)
Only used in one file.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/benet/be_main.c
b/drivers/net/benet/be_main.c
index 8c3bd63b567b7f2675fe6b966cc34e629f48e4b6..12486260c928d2055172a00cac9d9394459dd4b9 100644
(file)
--- 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);