From: Daniel Lezcano Date: Sat, 15 Sep 2012 20:43:05 +0000 (+0200) Subject: ACPI / processor: remove pointless variable initialization X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ed1511b80c92b1b1a8dde567adc090e470a4344a;p=linux-beck.git 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: Daniel Lezcano Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index 9c9288b7e410..e78c2a52ea46 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c @@ -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;