Skip to content

Commit 2f635ce

Browse files
Kirill Tkhaidavem330
authored andcommitted
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>
1 parent 094374e commit 2f635ce

File tree

182 files changed

+0
-206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+0
-206
lines changed

drivers/infiniband/core/cma.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4554,7 +4554,6 @@ static struct pernet_operations cma_pernet_operations = {
45544554
.exit = cma_exit_net,
45554555
.id = &cma_pernet_id,
45564556
.size = sizeof(struct cma_pernet),
4557-
.async = true,
45584557
};
45594558

45604559
static int __init cma_init(void)

drivers/net/bonding/bond_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4791,7 +4791,6 @@ static struct pernet_operations bond_net_ops = {
47914791
.exit = bond_net_exit,
47924792
.id = &bond_net_id,
47934793
.size = sizeof(struct bond_net),
4794-
.async = true,
47954794
};
47964795

47974796
static int __init bonding_init(void)

drivers/net/geneve.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,6 @@ static struct pernet_operations geneve_net_ops = {
16941694
.exit_batch = geneve_exit_batch_net,
16951695
.id = &geneve_net_id,
16961696
.size = sizeof(struct geneve_net),
1697-
.async = true,
16981697
};
16991698

17001699
static int __init geneve_init_module(void)

drivers/net/gtp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,6 @@ static struct pernet_operations gtp_net_ops = {
13251325
.exit = gtp_net_exit,
13261326
.id = &gtp_net_id,
13271327
.size = sizeof(struct gtp_net),
1328-
.async = true,
13291328
};
13301329

13311330
static int __init gtp_init(void)

drivers/net/ipvlan/ipvlan_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,6 @@ static struct pernet_operations ipvlan_net_ops = {
10401040
.id = &ipvlan_netid,
10411041
.size = sizeof(struct ipvlan_netns),
10421042
.exit = ipvlan_ns_exit,
1043-
.async = true,
10441043
};
10451044

10461045
static int __init ipvlan_init_module(void)

drivers/net/loopback.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,5 +230,4 @@ static __net_init int loopback_net_init(struct net *net)
230230
/* Registered in net/core/dev.c */
231231
struct pernet_operations __net_initdata loopback_net_ops = {
232232
.init = loopback_net_init,
233-
.async = true,
234233
};

drivers/net/ppp/ppp_generic.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,6 @@ static struct pernet_operations ppp_net_ops = {
970970
.exit = ppp_exit_net,
971971
.id = &ppp_net_id,
972972
.size = sizeof(struct ppp_net),
973-
.async = true,
974973
};
975974

976975
static int ppp_unit_register(struct ppp *ppp, int unit, bool ifname_is_set)

drivers/net/ppp/pppoe.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,6 @@ static struct pernet_operations pppoe_net_ops = {
11611161
.exit = pppoe_exit_net,
11621162
.id = &pppoe_net_id,
11631163
.size = sizeof(struct pppoe_net),
1164-
.async = true,
11651164
};
11661165

11671166
static int __init pppoe_init(void)

drivers/net/vrf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,6 @@ static struct pernet_operations vrf_net_ops __net_initdata = {
14351435
.init = vrf_netns_init,
14361436
.id = &vrf_net_id,
14371437
.size = sizeof(bool),
1438-
.async = true,
14391438
};
14401439

14411440
static int __init vrf_init_module(void)

drivers/net/vxlan.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3752,7 +3752,6 @@ static struct pernet_operations vxlan_net_ops = {
37523752
.exit_batch = vxlan_exit_batch_net,
37533753
.id = &vxlan_net_id,
37543754
.size = sizeof(struct vxlan_net),
3755-
.async = true,
37563755
};
37573756

37583757
static int __init vxlan_init_module(void)

0 commit comments

Comments
 (0)