ACPI: event: Remove redundant initialization of local variable
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Thu, 20 May 2021 02:39:08 +0000 (10:39 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 May 2021 17:15:28 +0000 (19:15 +0200)
commitf00d2d32cc6766fdc03ccfc865f08cc081df5b5f
tree564975bb0aede6898cd7430bb2ace61afb746ab9
parent45b10e3e0170b925251464f238420c2b9ea9d998
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>
drivers/acpi/event.c