diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-11-20 04:18:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 23:54:16 +0100 |
commit | 5106930bd6b57402205e3de54dae9476e215b622 (patch) | |
tree | 180a77fe9a8bed0718a849ac91c4bc7866912a1e /drivers/net | |
parent | [NETPOLL]: Use skb_queue_purge(). (diff) | |
download | linux-5106930bd6b57402205e3de54dae9476e215b622.tar.xz linux-5106930bd6b57402205e3de54dae9476e215b622.zip |
[NETPOLL]: netpoll_poll() cleanup
Restructure code slightly to improve readability:
* dereference device once
* change obvious while() loop
* let poll_napi() handle null list itself
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions