From: Pavel Emelyanov Date: Sun, 16 Sep 2007 22:40:33 +0000 (-0700) Subject: [NETNS]: Consolidate hashes creation in netdev_init() X-Git-Tag: v2.6.24-rc1~1454^2~480 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30d97d35851f40fd1c108d1b8904aca3c38d0126;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed