提交 2a49e001 编写于 作者: J Joe Perches 提交者: David S. Miller

netpoll: Remove wrapper function netpoll_poll

Too trivial to live.

cc: WANG Cong <amwang@redhat.com>
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 234b921d
......@@ -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 @@ static struct sk_buff *find_skb(struct netpoll *np, int len, int reserve)
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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册