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/sctp/protocol.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/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 493b817f6a2a..84a09f599131 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -1283,7 +1283,6 @@ static void __net_exit sctp_defaults_exit(struct net *net) | |||
1283 | static struct pernet_operations sctp_defaults_ops = { | 1283 | static struct pernet_operations sctp_defaults_ops = { |
1284 | .init = sctp_defaults_init, | 1284 | .init = sctp_defaults_init, |
1285 | .exit = sctp_defaults_exit, | 1285 | .exit = sctp_defaults_exit, |
1286 | .async = true, | ||
1287 | }; | 1286 | }; |
1288 | 1287 | ||
1289 | static int __net_init sctp_ctrlsock_init(struct net *net) | 1288 | static int __net_init sctp_ctrlsock_init(struct net *net) |
@@ -1307,7 +1306,6 @@ static void __net_init sctp_ctrlsock_exit(struct net *net) | |||
1307 | static struct pernet_operations sctp_ctrlsock_ops = { | 1306 | static struct pernet_operations sctp_ctrlsock_ops = { |
1308 | .init = sctp_ctrlsock_init, | 1307 | .init = sctp_ctrlsock_init, |
1309 | .exit = sctp_ctrlsock_exit, | 1308 | .exit = sctp_ctrlsock_exit, |
1310 | .async = true, | ||
1311 | }; | 1309 | }; |
1312 | 1310 | ||
1313 | /* Initialize the universe into something sensible. */ | 1311 | /* Initialize the universe into something sensible. */ |