mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
ACPI: event: Remove redundant initialization of local variable
'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>
This commit is contained in:
parent
45b10e3e01
commit
f00d2d32cc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user