[NETNS]: Consolidate hashes creation in netdev_init()
authorPavel Emelyanov <xemul@openvz.org>
Sun, 16 Sep 2007 22:40:33 +0000 (15:40 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:51:21 +0000 (16:51 -0700)
The dev_name_hash and the dev_index_hash are now booth kmalloc-ed
(and each element is properly initialized as usually) so I think
it's worth consolidating this code making it look nicer (and
saving 28 bytes of .text section ;) )

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found