Commit ed1511b8 authored by Daniel Lezcano's avatar Daniel Lezcano Committed by Rafael J. Wysocki

ACPI / processor: remove pointless variable initialization

The 'errata' variable is a global variable which is set to zero,
no need to do that with a memset in the init function.
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 38a991b6
......@@ -905,8 +905,6 @@ static int __init acpi_processor_init(void)
if (acpi_disabled)
return 0;
memset(&errata, 0, sizeof(errata));
result = acpi_bus_register_driver(&acpi_processor_driver);
if (result < 0)
return result;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment