bridge: use list_for_each_entry() in netpoll functions
authorAmerigo Wang <amwang@redhat.com>
Fri, 10 Aug 2012 01:24:44 +0000 (01:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2012 21:33:31 +0000 (14:33 -0700)
commit4e3828c4bfd90b00a951cad7c8da27d1966beefe
tree032e34b6d572d279c9f015816bb674257e0b4ad0
parentd30362c0712eb567334b3b66de7c40d4372f2c6f
bridge: use list_for_each_entry() in netpoll functions

We don't delete 'p' from the list in the loop,
so we can just use list_for_each_entry().

Cc: David Miller <davem@davemloft.net>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c