mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +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
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ static int acpi_event_genetlink_init(void)
|
||||||
|
|
||||||
static int __init acpi_event_init(void)
|
static int __init acpi_event_init(void)
|
||||||
{
|
{
|
||||||
int error = 0;
|
int error;
|
||||||
|
|
||||||
if (acpi_disabled)
|
if (acpi_disabled)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue