diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index f3b99701da5b..18c51b40f665 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -3016,9 +3016,7 @@ int register_netdevice(struct net_device *dev) | |||
3016 | spin_lock_init(&dev->queue_lock); | 3016 | spin_lock_init(&dev->queue_lock); |
3017 | spin_lock_init(&dev->_xmit_lock); | 3017 | spin_lock_init(&dev->_xmit_lock); |
3018 | dev->xmit_lock_owner = -1; | 3018 | dev->xmit_lock_owner = -1; |
3019 | #ifdef CONFIG_NET_CLS_ACT | ||
3020 | spin_lock_init(&dev->ingress_lock); | 3019 | spin_lock_init(&dev->ingress_lock); |
3021 | #endif | ||
3022 | 3020 | ||
3023 | dev->iflink = -1; | 3021 | dev->iflink = -1; |
3024 | 3022 | ||