projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
234b921
)
netpoll: Remove wrapper function netpoll_poll
author
Joe Perches
<
[email protected]
>
Thu, 30 Jun 2011 15:08:58 +0000
(15:08 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 4 Jul 2011 03:02:07 +0000
(20:02 -0700)
Too trivial to live.
cc: WANG Cong <
[email protected]
>
Signed-off-by: Joe Perches <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/core/netpoll.c
patch
|
blob
|
history
diff --git
a/net/core/netpoll.c
b/net/core/netpoll.c
index 4ce595e45f919c59a02bfabba4b9c956929707ba..adf84dd8c7b5b44a215b7e79a3b3a838fe09b7d2 100644
(file)
--- a/
net/core/netpoll.c
+++ b/
net/core/netpoll.c
@@
-209,11
+209,6
@@
static void netpoll_poll_dev(struct net_device *dev)
zap_completion_queue();
}
-static void netpoll_poll(struct netpoll *np)
-{
- netpoll_poll_dev(np->dev);
-}
-
static void refill_skbs(void)
{
struct sk_buff *skb;
@@
-273,7
+268,7
@@
repeat:
if (!skb) {
if (++count < 10) {
- netpoll_poll
(np
);
+ netpoll_poll
_dev(np->dev
);
goto repeat;
}
return NULL;
@@
-334,7
+329,7
@@
void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb,
}
/* tickle device maybe there is some cleanup */
- netpoll_poll
(np
);
+ netpoll_poll
_dev(np->dev
);
udelay(USEC_PER_POLL);
}