diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-09-16 15:40:33 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:51:21 -0700 |
commit | 30d97d35851f40fd1c108d1b8904aca3c38d0126 (patch) | |
tree | af45c94eceaa1e30c7df51852bfb4e6e33e67721 /net/decnet | |
parent | ad7379d49458a863c520a73a3c36441c572f850e (diff) |
[NETNS]: Consolidate hashes creation in netdev_init()
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>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions