]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETPOLL]: netpoll_poll() cleanup
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 20 Nov 2007 03:18:11 +0000 (19:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:16 +0000 (14:54 -0800)
commit5106930bd6b57402205e3de54dae9476e215b622
tree180a77fe9a8bed0718a849ac91c4bc7866912a1e
parent0adc9add7709f87995c003c0ccb085076afdc923
[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>
net/core/netpoll.c