mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
38a991b625
commit
ed1511b80c
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue