diff options
author | Edson Juliano Drosdeck <edson.drosdeck@gmail.com> | 2023-10-16 15:29:10 -0300 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-10-17 10:14:35 +0300 |
commit | d3b614d993781afca1832bd2cbc39da64306d0ba (patch) | |
tree | e915bd7aca47db2c734e83e18b182dcdc9199233 /drivers/platform | |
parent | 3f720b21ec5af466e50e99dc517af267b67d248c (diff) | |
download | linux-d3b614d993781afca1832bd2cbc39da64306d0ba.tar.gz linux-d3b614d993781afca1832bd2cbc39da64306d0ba.tar.bz2 linux-d3b614d993781afca1832bd2cbc39da64306d0ba.zip |
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 <edson.drosdeck@gmail.com>
Link: https://lore.kernel.org/r/20231016182910.3344-1-edson.drosdeck@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/acer-wmi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 377a0becd1a1..0e472aa9bf41 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -1922,7 +1922,6 @@ static void acer_rfkill_exit(void) rfkill_unregister(threeg_rfkill); rfkill_destroy(threeg_rfkill); } - return; } static void acer_wmi_notify(u32 value, void *context) @@ -2517,7 +2516,6 @@ static void __exit acer_wmi_exit(void) platform_driver_unregister(&acer_platform_driver); pr_info("Acer Laptop WMI Extras unloaded\n"); - return; } module_init(acer_wmi_init); |