diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-06-02 16:43:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-04 19:47:27 -0400 |
commit | 430f03cde2fb9596d8b562824471e298a8080df9 (patch) | |
tree | cd99f4df3a8c020b2899d39ac842f36f830d49b9 /net/core | |
parent | f1362e378ab27844f968f1f390e33b6c77861ec0 (diff) |
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 <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
6088 | } | 6088 | } |
6089 | EXPORT_SYMBOL(netdev_increment_features); | 6089 | EXPORT_SYMBOL(netdev_increment_features); |
6090 | 6090 | ||
6091 | static struct hlist_head *netdev_create_hash(void) | 6091 | static struct hlist_head * __net_init netdev_create_hash(void) |
6092 | { | 6092 | { |
6093 | int i; | 6093 | int i; |
6094 | struct hlist_head *hash; | 6094 | struct hlist_head *hash; |