net: use hlist_for_each_entry()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 30 Oct 2009 08:40:11 +0000 (01:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2009 08:40:11 +0000 (01:40 -0700)
commit0bd8d53656da72bc065766b5f2a05ca738020b8a
treee02e9b68286d9e8b57fce6b9f2ed8a89baae25ba
parent24540535d33f72505807be3e7ef2e94f3726f971
net: use hlist_for_each_entry()

Small cleanup of __dev_get_by_name() and __dev_get_by_index()
to use hlist_for_each_entry() : They'll look like their _rcu variant.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c