summaryrefslogtreecommitdiffstats
path: root/net/can
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/can
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/can')
-rw-r--r--net/can/af_can.c1
-rw-r--r--net/can/bcm.c1
-rw-r--r--net/can/gw.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/net/can/af_can.c b/net/can/af_can.c
index 2f0d0a72e4b5..1684ba5b51eb 100644
--- a/net/can/af_can.c
+++ b/net/can/af_can.c
@@ -954,7 +954,6 @@ static struct notifier_block can_netdev_notifier __read_mostly = {
954static struct pernet_operations can_pernet_ops __read_mostly = { 954static struct pernet_operations can_pernet_ops __read_mostly = {
955 .init = can_pernet_init, 955 .init = can_pernet_init,
956 .exit = can_pernet_exit, 956 .exit = can_pernet_exit,
957 .async = true,
958}; 957};
959 958
960static __init int can_init(void) 959static __init int can_init(void)
diff --git a/net/can/bcm.c b/net/can/bcm.c
index 26730d39e048..ac5e5e34fee3 100644
--- a/net/can/bcm.c
+++ b/net/can/bcm.c
@@ -1717,7 +1717,6 @@ static void canbcm_pernet_exit(struct net *net)
1717static struct pernet_operations canbcm_pernet_ops __read_mostly = { 1717static struct pernet_operations canbcm_pernet_ops __read_mostly = {
1718 .init = canbcm_pernet_init, 1718 .init = canbcm_pernet_init,
1719 .exit = canbcm_pernet_exit, 1719 .exit = canbcm_pernet_exit,
1720 .async = true,
1721}; 1720};
1722 1721
1723static int __init bcm_module_init(void) 1722static int __init bcm_module_init(void)
diff --git a/net/can/gw.c b/net/can/gw.c
index 8d71e199d5b3..faa3da88a127 100644
--- a/net/can/gw.c
+++ b/net/can/gw.c
@@ -1010,7 +1010,6 @@ static void __net_exit cangw_pernet_exit(struct net *net)
1010static struct pernet_operations cangw_pernet_ops = { 1010static struct pernet_operations cangw_pernet_ops = {
1011 .init = cangw_pernet_init, 1011 .init = cangw_pernet_init,
1012 .exit = cangw_pernet_exit, 1012 .exit = cangw_pernet_exit,
1013 .async = true,
1014}; 1013};
1015 1014
1016static __init int cgw_module_init(void) 1015static __init int cgw_module_init(void)