Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;