Skip to content

Commit b3eb6a2

Browse files
Bartosz GolaszewskiDanilo Krummrich
authored andcommitted
software node: remove software_node_exit()
software_node_exit() is an __exitcall() in a built-in compilation unit so effectively dead code. Remove it. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20260402-nokia770-gpio-swnodes-v5-2-d730db3dd299@oss.qualcomm.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
1 parent 9617b5b commit b3eb6a2

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

drivers/base/swnode.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,10 +1135,3 @@ static int __init software_node_init(void)
11351135
return 0;
11361136
}
11371137
postcore_initcall(software_node_init);
1138-
1139-
static void __exit software_node_exit(void)
1140-
{
1141-
ida_destroy(&swnode_root_ids);
1142-
kset_unregister(swnode_kset);
1143-
}
1144-
__exitcall(software_node_exit);

0 commit comments

Comments
 (0)