From: Baruch Siach Date: Sun, 2 Jun 2013 20:43:55 +0000 (+0000) Subject: net: mark netdev_create_hash __net_init X-Git-Tag: v3.11-rc1~16^2~189 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=430f03cde2fb9596d8b562824471e298a8080df9;p=linux-2.6-block.git net: mark netdev_create_hash __net_init netdev_create_hash() is only called from netdev_init() which is marked __net_init. Signed-off-by: Baruch Siach Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index d4d874a25e45..9c18557f93c6 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -6088,7 +6088,7 @@ netdev_features_t netdev_increment_features(netdev_features_t all, } EXPORT_SYMBOL(netdev_increment_features); -static struct hlist_head *netdev_create_hash(void) +static struct hlist_head * __net_init netdev_create_hash(void) { int i; struct hlist_head *hash;