提交 2d4d3e2a 编写于 作者: J Jiang Liu 提交者: Rafael J. Wysocki

ACPI / processor: remove some dead code in acpi_processor_get_info()

errata.smp is used by nowhere, so the variable assignment is meanless,
remove it.
Signed-off-by: NJiang Liu <jiang.liu@huawei.com>
Signed-off-by: NHanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 7e1f85f9
......@@ -220,9 +220,6 @@ static int acpi_processor_get_info(struct acpi_device *device)
acpi_status status = AE_OK;
static int cpu0_initialized;
if (num_online_cpus() > 1)
errata.smp = TRUE;
acpi_processor_errata(pr);
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册