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
@@ -2756,7 +2756,6 @@ static void __net_exit udp4_proc_exit_net(struct net *net)
|
||||
static struct pernet_operations udp4_net_ops = {
|
||||
.init = udp4_proc_init_net,
|
||||
.exit = udp4_proc_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init udp4_proc_init(void)
|
||||
@@ -2843,7 +2842,6 @@ static int __net_init udp_sysctl_init(struct net *net)
|
||||
|
||||
static struct pernet_operations __net_initdata udp_sysctl_ops = {
|
||||
.init = udp_sysctl_init,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
void __init udp_init(void)
|
||||
|
||||
Reference in New Issue
Block a user