diff options
author | Jiang Liu <jiang.liu@huawei.com> | 2013-09-02 05:57:37 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-09-24 01:39:40 +0200 |
commit | 2d4d3e2a06bd25fba52a4693b09ec72d61d250d9 (patch) | |
tree | 3a306b60a5945c23f75299754b7107eba2d2c312 /drivers/acpi/acpi_processor.c | |
parent | x86 / ACPI: simplify _acpi_map_lsapic() (diff) | |
download | linux-2d4d3e2a06bd25fba52a4693b09ec72d61d250d9.tar.xz linux-2d4d3e2a06bd25fba52a4693b09ec72d61d250d9.zip |
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>
Diffstat (limited to 'drivers/acpi/acpi_processor.c')
-rw-r--r-- | drivers/acpi/acpi_processor.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c index 66c9b702894b..5364d029b8e9 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); /* |