netdev: use list_first_entry macro
authorstephen hemminger <shemminger@vyatta.com>
Wed, 24 Feb 2010 14:01:38 +0000 (14:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 12:18:35 +0000 (04:18 -0800)
commite5e26d75f490d7d41f25a4b39ed6db1713beb417
treec886f5883ce640ac7d9a84ad4e8c56974948d243
parent4edb246626be6e031950205c885bdf29fb2ff1eb
netdev: use list_first_entry macro

Use list_first_entry macro; no longer any need to use
'next' directly in list to find first entry.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c