mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
net: Convert /proc creating and destroying pernet_operations
These pernet_operations just create and destroy /proc entries, and they can safely marked as async: pppoe_net_ops vlan_net_ops canbcm_pernet_ops kcm_net_ops pfkey_net_ops pppol2tp_net_ops phonet_net_ops Signed-off-by: Kirill Tkhai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
7f897db37b
commit
c80afa026a
7 changed files with 7 additions and 0 deletions
|
|
@ -1717,6 +1717,7 @@ static void canbcm_pernet_exit(struct net *net)
|
|||
static struct pernet_operations canbcm_pernet_ops __read_mostly = {
|
||||
.init = canbcm_pernet_init,
|
||||
.exit = canbcm_pernet_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init bcm_module_init(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue