diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-27 11:02:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-27 13:18:09 -0400 |
commit | 2f635ceeb22ba13c307236d69795fbb29cfa3e7c (patch) | |
tree | fe8b187d1530a7e434aecaf2d5a9565247f0263e /net/core/dev.c | |
parent | 094374e5e173c6639eccf6a2af5e1357a0869848 (diff) |
net: Drop pernet_operations::async
Synchronous pernet_operations are not allowed anymore.
All are asynchronous. So, drop the structure member.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
-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 97a96df4b6da..e13807b5c84d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -8883,7 +8883,6 @@ static void __net_exit netdev_exit(struct net *net) | |||
8883 | static struct pernet_operations __net_initdata netdev_net_ops = { | 8883 | static struct pernet_operations __net_initdata netdev_net_ops = { |
8884 | .init = netdev_init, | 8884 | .init = netdev_init, |
8885 | .exit = netdev_exit, | 8885 | .exit = netdev_exit, |
8886 | .async = true, | ||
8887 | }; | 8886 | }; |
8888 | 8887 | ||
8889 | static void __net_exit default_device_exit(struct net *net) | 8888 | static void __net_exit default_device_exit(struct net *net) |
@@ -8984,7 +8983,6 @@ static void __net_exit default_device_exit_batch(struct list_head *net_list) | |||
8984 | static struct pernet_operations __net_initdata default_device_ops = { | 8983 | static struct pernet_operations __net_initdata default_device_ops = { |
8985 | .exit = default_device_exit, | 8984 | .exit = default_device_exit, |
8986 | .exit_batch = default_device_exit_batch, | 8985 | .exit_batch = default_device_exit_batch, |
8987 | .async = true, | ||
8988 | }; | 8986 | }; |
8989 | 8987 | ||
8990 | /* | 8988 | /* |