diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-11-19 19:18:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:54:16 -0800 |
commit | 5106930bd6b57402205e3de54dae9476e215b622 (patch) | |
tree | 180a77fe9a8bed0718a849ac91c4bc7866912a1e /drivers/net/netconsole.c | |
parent | 0adc9add7709f87995c003c0ccb085076afdc923 (diff) | |
download | op-kernel-dev-5106930bd6b57402205e3de54dae9476e215b622.zip op-kernel-dev-5106930bd6b57402205e3de54dae9476e215b622.tar.gz |
[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/netconsole.c')
0 files changed, 0 insertions, 0 deletions