dect
/
linux-2.6
Archived
13
0
Fork 0

netpoll: Remove wrapper function netpoll_poll

Too trivial to live.

cc: WANG Cong <amwang@redhat.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Joe Perches 2011-06-30 15:08:58 +00:00 committed by David S. Miller
parent 234b921dbc
commit 2a49e001cb
1 changed files with 2 additions and 7 deletions

View File

@ -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);
}