projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1dbdd2
)
platform/x86: asus-wmi: remove unneeded semicolon
author
Yang Li
<yang.lee@linux.alibaba.com>
Wed, 24 Nov 2021 02:02:12 +0000
(10:02 +0800)
committer
Hans de Goede
<hdegoede@redhat.com>
Thu, 2 Dec 2021 11:58:25 +0000
(12:58 +0100)
Eliminate the following coccicheck warning:
./drivers/platform/x86/asus-wmi.c:2386:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link:
https://lore.kernel.org/r/1637719332-45224-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/asus-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/asus-wmi.c
b/drivers/platform/x86/asus-wmi.c
index ab0c087d40cf89c7809ca1bc5cd0f68af17c0187..6fa4b0be8e76390d1d177e7471ef5171780fb645 100644
(file)
--- a/
drivers/platform/x86/asus-wmi.c
+++ b/
drivers/platform/x86/asus-wmi.c
@@
-2383,7
+2383,7
@@
static ssize_t fan_curve_enable_store(struct device *dev,
break;
default:
return -EINVAL;
- }
;
+ }
if (data->enabled) {
err = fan_curve_write(asus, data);