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/ipv4/af_inet.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/ipv4/af_inet.c')
-rw-r--r-- | net/ipv4/af_inet.c | 2 |
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) | |||
1735 | static __net_initdata struct pernet_operations ipv4_mib_ops = { | 1735 | static __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 | ||
1741 | static int __init init_ipv4_mibs(void) | 1740 | static int __init init_ipv4_mibs(void) |
@@ -1789,7 +1788,6 @@ static __net_exit void inet_exit_net(struct net *net) | |||
1789 | static __net_initdata struct pernet_operations af_inet_ops = { | 1788 | static __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 | ||
1795 | static int __init init_inet_pernet_ops(void) | 1793 | static int __init init_inet_pernet_ops(void) |