Commit 8958ef51 authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Jakub Kicinski

team: add __exit modifier to team_nl_fini()

team_nl_fini is only called when the module exits, so add the __exit
modifier to it.
Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Reviewed-by: default avatarHangbin Liu <liuhangbin@gmail.com>
Reviewed-by: default avatarJiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230807012556.3146071-2-shaozhengchao@huawei.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6f9728dd
......@@ -2892,7 +2892,7 @@ static int __init team_nl_init(void)
return genl_register_family(&team_nl_family);
}
static void team_nl_fini(void)
static void __exit team_nl_fini(void)
{
genl_unregister_family(&team_nl_family);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment