Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Bartosz Golaszewski and committed by
Danilo Krummrich
b3eb6a25 9617b5b6

-7
-7
drivers/base/swnode.c
··· 1135 1135 return 0; 1136 1136 } 1137 1137 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);