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:
45b10e3
)
ACPI: event: Remove redundant initialization of local variable
author
Shaokun Zhang
<zhangshaokun@hisilicon.com>
Thu, 20 May 2021 02:39:08 +0000
(10:39 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Fri, 21 May 2021 17:15:28 +0000
(19:15 +0200)
'error' will be initialized, so clean up the redundant initialization.
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/event.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/event.c
b/drivers/acpi/event.c
index
92e59f4
..
bfb16cf
100644
(file)
--- a/
drivers/acpi/event.c
+++ b/
drivers/acpi/event.c
@@
-165,7
+165,7
@@
static int acpi_event_genetlink_init(void)
static int __init acpi_event_init(void)
{
- int error
= 0
;
+ int error;
if (acpi_disabled)
return 0;