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/ipv4/udp.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/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index fb8f3a36bd14..f49e14cd3891 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
@@ -2756,7 +2756,6 @@ static void __net_exit udp4_proc_exit_net(struct net *net) | |||
2756 | static struct pernet_operations udp4_net_ops = { | 2756 | static struct pernet_operations udp4_net_ops = { |
2757 | .init = udp4_proc_init_net, | 2757 | .init = udp4_proc_init_net, |
2758 | .exit = udp4_proc_exit_net, | 2758 | .exit = udp4_proc_exit_net, |
2759 | .async = true, | ||
2760 | }; | 2759 | }; |
2761 | 2760 | ||
2762 | int __init udp4_proc_init(void) | 2761 | int __init udp4_proc_init(void) |
@@ -2843,7 +2842,6 @@ static int __net_init udp_sysctl_init(struct net *net) | |||
2843 | 2842 | ||
2844 | static struct pernet_operations __net_initdata udp_sysctl_ops = { | 2843 | static struct pernet_operations __net_initdata udp_sysctl_ops = { |
2845 | .init = udp_sysctl_init, | 2844 | .init = udp_sysctl_init, |
2846 | .async = true, | ||
2847 | }; | 2845 | }; |
2848 | 2846 | ||
2849 | void __init udp_init(void) | 2847 | void __init udp_init(void) |