bonding: add modifier to initialization function and exit function
authorZhengchao Shao <shaozhengchao@huawei.com>
Thu, 10 Aug 2023 13:50:03 +0000 (21:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2023 10:10:55 +0000 (11:10 +0100)
commite08190ef514fd3c7e45826cd0d427d4133361192
tree0fc333c841b54286bb2fd8b8c578b4ea8f3e80d2
parente5cd429e79286a17b345f9f9153d3970a46359f2
bonding: add modifier to initialization function and exit function

Some functions are only used in initialization and exit functions, so add
the __init/__net_init and __net_exit modifiers to these functions.

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_debugfs.c
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c