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>
This commit is contained in:

committed by
David S. Miller

parent
094374e5e1
commit
2f635ceeb2
@@ -2391,7 +2391,6 @@ static void __net_exit tcp4_proc_exit_net(struct net *net)
|
||||
static struct pernet_operations tcp4_net_ops = {
|
||||
.init = tcp4_proc_init_net,
|
||||
.exit = tcp4_proc_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init tcp4_proc_init(void)
|
||||
@@ -2578,7 +2577,6 @@ static struct pernet_operations __net_initdata tcp_sk_ops = {
|
||||
.init = tcp_sk_init,
|
||||
.exit = tcp_sk_exit,
|
||||
.exit_batch = tcp_sk_exit_batch,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
void __init tcp_v4_init(void)
|
||||
|
Reference in New Issue
Block a user