commit | 30d97d35851f40fd1c108d1b8904aca3c38d0126 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Sun Sep 16 15:40:33 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:51:21 2007 -0700 |
tree | af45c94eceaa1e30c7df51852bfb4e6e33e67721 | |
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>