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:
Jiang Liu 2013-09-02 11:57:37 +08:00 committed by Rafael J. Wysocki
parent 7e1f85f96d
commit 2d4d3e2a06
1 changed files with 0 additions and 3 deletions

View File

@ -220,9 +220,6 @@ static int acpi_processor_get_info(struct acpi_device *device)
acpi_status status = AE_OK; acpi_status status = AE_OK;
static int cpu0_initialized; static int cpu0_initialized;
if (num_online_cpus() > 1)
errata.smp = TRUE;
acpi_processor_errata(pr); acpi_processor_errata(pr);
/* /*