projects
/
profile
/
ivi
/
kernel-x86-ivi.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
|
history
diff --git
a/drivers/net/benet/be_main.c
b/drivers/net/benet/be_main.c
index
8c3bd63
..
1248626
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);