summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_ipmi.c
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2021-03-27 20:08:15 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-04-08 16:27:02 +0200
commitfc6a1f84e80b9113e1170151c7fca0e1c332ee22 (patch)
tree0309ab4656cd6c26af0c43e596bc1f0960a80f4c /drivers/acpi/acpi_ipmi.c
parentc8deb1c2576237d27aadce0e769be4b18518fab1 (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/acpi_ipmi.c')
-rw-r--r--drivers/acpi/acpi_ipmi.c1
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)