aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-27 11:02:13 -0400
committerDavid S. Miller <davem@davemloft.net>2018-03-27 13:18:09 -0400
commit2f635ceeb22ba13c307236d69795fbb29cfa3e7c (patch)
treefe8b187d1530a7e434aecaf2d5a9565247f0263e /net/ipv4/af_inet.c
parent094374e5e173c6639eccf6a2af5e1357a0869848 (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/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index e8c7fad8c329..f98e2f0db841 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1735,7 +1735,6 @@ static __net_exit void ipv4_mib_exit_net(struct net *net)
1735static __net_initdata struct pernet_operations ipv4_mib_ops = { 1735static __net_initdata struct pernet_operations ipv4_mib_ops = {
1736 .init = ipv4_mib_init_net, 1736 .init = ipv4_mib_init_net,
1737 .exit = ipv4_mib_exit_net, 1737 .exit = ipv4_mib_exit_net,
1738 .async = true,
1739}; 1738};
1740 1739
1741static int __init init_ipv4_mibs(void) 1740static int __init init_ipv4_mibs(void)
@@ -1789,7 +1788,6 @@ static __net_exit void inet_exit_net(struct net *net)
1789static __net_initdata struct pernet_operations af_inet_ops = { 1788static __net_initdata struct pernet_operations af_inet_ops = {
1790 .init = inet_init_net, 1789 .init = inet_init_net,
1791 .exit = inet_exit_net, 1790 .exit = inet_exit_net,
1792 .async = true,
1793}; 1791};
1794 1792
1795static int __init init_inet_pernet_ops(void) 1793static int __init init_inet_pernet_ops(void)