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: Jiang Liu <jiang.liu@huawei.com> Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
7e1f85f96d
commit
2d4d3e2a06
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue