projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8deb1c
)
ACPI: ipmi: remove useless return statement for void function
author
Xiaofei Tan
<tanxiaofei@huawei.com>
Sat, 27 Mar 2021 12:08:15 +0000
(20:08 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 8 Apr 2021 14:27:02 +0000
(16:27 +0200)
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>
drivers/acpi/acpi_ipmi.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/acpi_ipmi.c
b/drivers/acpi/acpi_ipmi.c
index
9d6c0fc
..
bbd00d9
100644
(file)
--- 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)