devcoredump: Remove exit call
Subsystems (2)
PATCH 1/1 devcoredump: Remove exit call
Kconfig symbol DEV_COREDUMP is of type bool, therefore devcoredump can't be built as a module and the exit code is a no-op.
Signed-off-by Heiner Kallweit <[email protected]>
--- drivers/base/devcoredump.c | 7 ------- 1 file changed, 7 deletions(-)
drivers/base/devcoredump.c +0 -7
@@ -471,10 +471,3 @@ static int __init devcoredump_init(void)return class_register (&devcd_class); }__initcall (devcoredump_init); - -static void __exit devcoredump_exit(void) -{ -class_for_each_device (&devcd_class,NULL ,NULL , devcd_free); -class_unregister (&devcd_class); -} -__exitcall (devcoredump_exit);
Signature · 1 line
2.53.0