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/net-procfs.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/net-procfs.c')
-rw-r--r-- | net/core/net-procfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/net-procfs.c b/net/core/net-procfs.c index dd6ae431d038..9737302907b1 100644 --- a/net/core/net-procfs.c +++ b/net/core/net-procfs.c | |||
@@ -349,7 +349,6 @@ static void __net_exit dev_proc_net_exit(struct net *net) | |||
349 | static struct pernet_operations __net_initdata dev_proc_ops = { | 349 | static struct pernet_operations __net_initdata dev_proc_ops = { |
350 | .init = dev_proc_net_init, | 350 | .init = dev_proc_net_init, |
351 | .exit = dev_proc_net_exit, | 351 | .exit = dev_proc_net_exit, |
352 | .async = true, | ||
353 | }; | 352 | }; |
354 | 353 | ||
355 | static int dev_mc_seq_show(struct seq_file *seq, void *v) | 354 | static int dev_mc_seq_show(struct seq_file *seq, void *v) |
@@ -406,7 +405,6 @@ static void __net_exit dev_mc_net_exit(struct net *net) | |||
406 | static struct pernet_operations __net_initdata dev_mc_net_ops = { | 405 | static struct pernet_operations __net_initdata dev_mc_net_ops = { |
407 | .init = dev_mc_net_init, | 406 | .init = dev_mc_net_init, |
408 | .exit = dev_mc_net_exit, | 407 | .exit = dev_mc_net_exit, |
409 | .async = true, | ||
410 | }; | 408 | }; |
411 | 409 | ||
412 | int __init dev_proc_init(void) | 410 | int __init dev_proc_init(void) |