diff options
author | Xiaofei Tan | 2021-03-27 20:08:15 +0800 |
---|---|---|
committer | Rafael J. Wysocki | 2021-04-08 16:27:02 +0200 |
commit | fc6a1f84e80b9113e1170151c7fca0e1c332ee22 (patch) | |
tree | 0309ab4656cd6c26af0c43e596bc1f0960a80f4c /drivers/acpi | |
parent | c8deb1c2576237d27aadce0e769be4b18518fab1 (diff) |
ACPI: ipmi: remove useless return statement for void function
Remove useless return statement for void function, reported by
checkpatch.pl.
WARNING: void function return statements are not generally useful
FILE: drivers/acpi/acpi_ipmi.c:482:
+ return;
+}
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/acpi_ipmi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c index 9d6c0fc120d7..bbd00d96b7a8 100644 --- a/drivers/acpi/acpi_ipmi.c +++ b/drivers/acpi/acpi_ipmi.c @@ -478,7 +478,6 @@ err_lock: ipmi_dev_release(ipmi_device); err_ref: put_device(smi_data.dev); - return; } static void ipmi_bmc_gone(int iface) |