commit | 0bd8d53656da72bc065766b5f2a05ca738020b8a | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Fri Oct 30 01:40:11 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 30 01:40:11 2009 -0700 |
tree | e02e9b68286d9e8b57fce6b9f2ed8a89baae25ba | |
parent | 24540535d33f72505807be3e7ef2e94f3726f971 [diff] |
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>