diff mbox

[v2,4/6] ACPI / processor: remove some dead code in acpi_processor_get_info()

Message ID 1378094259-5922-5-git-send-email-hanjun.guo@linaro.org
State Accepted
Commit 2d4d3e2a06bd25fba52a4693b09ec72d61d250d9
Headers show

Commit Message

Hanjun Guo Sept. 2, 2013, 3:57 a.m. UTC
From: Jiang Liu <jiang.liu@huawei.com>

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>
---
 drivers/acpi/acpi_processor.c |    3 ---
 1 file changed, 3 deletions(-)
diff mbox

Patch

diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
index 66c9b70..5364d02 100644
--- a/drivers/acpi/acpi_processor.c
+++ b/drivers/acpi/acpi_processor.c
@@ -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);
 
 	/*