diff options
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index be6cedab5aa8..dd7e30754cbc 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -4330,7 +4330,6 @@ static struct hlist_head *netdev_create_hash(void) | |||
4330 | static int __net_init netdev_init(struct net *net) | 4330 | static int __net_init netdev_init(struct net *net) |
4331 | { | 4331 | { |
4332 | INIT_LIST_HEAD(&net->dev_base_head); | 4332 | INIT_LIST_HEAD(&net->dev_base_head); |
4333 | rwlock_init(&dev_base_lock); | ||
4334 | 4333 | ||
4335 | net->dev_name_head = netdev_create_hash(); | 4334 | net->dev_name_head = netdev_create_hash(); |
4336 | if (net->dev_name_head == NULL) | 4335 | if (net->dev_name_head == NULL) |