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/sock.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/sock.c')
-rw-r--r-- | net/core/sock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 8cee2920a47f..6444525f610c 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -3175,7 +3175,6 @@ static void __net_exit sock_inuse_exit_net(struct net *net) | |||
3175 | static struct pernet_operations net_inuse_ops = { | 3175 | static struct pernet_operations net_inuse_ops = { |
3176 | .init = sock_inuse_init_net, | 3176 | .init = sock_inuse_init_net, |
3177 | .exit = sock_inuse_exit_net, | 3177 | .exit = sock_inuse_exit_net, |
3178 | .async = true, | ||
3179 | }; | 3178 | }; |
3180 | 3179 | ||
3181 | static __init int net_inuse_init(void) | 3180 | static __init int net_inuse_init(void) |
@@ -3470,7 +3469,6 @@ static __net_exit void proto_exit_net(struct net *net) | |||
3470 | static __net_initdata struct pernet_operations proto_net_ops = { | 3469 | static __net_initdata struct pernet_operations proto_net_ops = { |
3471 | .init = proto_init_net, | 3470 | .init = proto_init_net, |
3472 | .exit = proto_exit_net, | 3471 | .exit = proto_exit_net, |
3473 | .async = true, | ||
3474 | }; | 3472 | }; |
3475 | 3473 | ||
3476 | static int __init proto_init(void) | 3474 | static int __init proto_init(void) |