提交 ed1511b8 编写于 作者: D Daniel Lezcano 提交者: 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: NDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册