Skip to content

Commit d3b614d

Browse files
drosdeckij-intel
authored andcommitted
platform/x86: acer-wmi: Remove void function return
Adhere to Linux kernel coding style. Reported by checkpatch: WARNING: void function return statements are not generally useful Signed-off-by: Edson Juliano Drosdeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 3f720b2 commit d3b614d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/platform/x86/acer-wmi.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,7 +1922,6 @@ static void acer_rfkill_exit(void)
19221922
rfkill_unregister(threeg_rfkill);
19231923
rfkill_destroy(threeg_rfkill);
19241924
}
1925-
return;
19261925
}
19271926

19281927
static void acer_wmi_notify(u32 value, void *context)
@@ -2517,7 +2516,6 @@ static void __exit acer_wmi_exit(void)
25172516
platform_driver_unregister(&acer_platform_driver);
25182517

25192518
pr_info("Acer Laptop WMI Extras unloaded\n");
2520-
return;
25212519
}
25222520

25232521
module_init(acer_wmi_init);

0 commit comments

Comments
 (0)