OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1362e3
)
net: mark netdev_create_hash __net_init
author
Baruch Siach
<baruch@tkos.co.il>
Sun, 2 Jun 2013 20:43:55 +0000
(20:43 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 4 Jun 2013 23:47:27 +0000
(16:47 -0700)
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>
net/core/dev.c
patch
|
blob
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index
d4d874a
..
9c18557
100644
(file)
--- 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;