diff options
Diffstat (limited to 'net/core/dev.c')
| -rw-r--r-- | net/core/dev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index ddfef3b45bab..853c8b575f1d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
| @@ -2668,7 +2668,7 @@ static void __net_exit dev_proc_net_exit(struct net *net) | |||
| 2668 | proc_net_remove(net, "dev"); | 2668 | proc_net_remove(net, "dev"); |
| 2669 | } | 2669 | } |
| 2670 | 2670 | ||
| 2671 | static struct pernet_operations __net_initdata dev_proc_ops = { | 2671 | static struct pernet_operations dev_proc_ops = { |
| 2672 | .init = dev_proc_net_init, | 2672 | .init = dev_proc_net_init, |
| 2673 | .exit = dev_proc_net_exit, | 2673 | .exit = dev_proc_net_exit, |
| 2674 | }; | 2674 | }; |
| @@ -4328,7 +4328,7 @@ static void __net_exit netdev_exit(struct net *net) | |||
| 4328 | kfree(net->dev_index_head); | 4328 | kfree(net->dev_index_head); |
| 4329 | } | 4329 | } |
| 4330 | 4330 | ||
| 4331 | static struct pernet_operations __net_initdata netdev_net_ops = { | 4331 | static struct pernet_operations netdev_net_ops = { |
| 4332 | .init = netdev_init, | 4332 | .init = netdev_init, |
| 4333 | .exit = netdev_exit, | 4333 | .exit = netdev_exit, |
| 4334 | }; | 4334 | }; |
| @@ -4359,7 +4359,7 @@ static void __net_exit default_device_exit(struct net *net) | |||
| 4359 | rtnl_unlock(); | 4359 | rtnl_unlock(); |
| 4360 | } | 4360 | } |
| 4361 | 4361 | ||
| 4362 | static struct pernet_operations __net_initdata default_device_ops = { | 4362 | static struct pernet_operations default_device_ops = { |
| 4363 | .exit = default_device_exit, | 4363 | .exit = default_device_exit, |
| 4364 | }; | 4364 | }; |
| 4365 | 4365 | ||
