projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1f85f
)
ACPI / processor: remove some dead code in acpi_processor_get_info()
author
Jiang Liu
<jiang.liu@huawei.com>
Mon, 2 Sep 2013 03:57:37 +0000
(11:57 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 23 Sep 2013 23:39:40 +0000
(
01:39
+0200)
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>
drivers/acpi/acpi_processor.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/acpi_processor.c
b/drivers/acpi/acpi_processor.c
index 66c9b702894be4dce0b40d9f830538f92b78d299..5364d029b8e9e551c69f2da30857b4a02f69fc61 100644
(file)
--- 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);
/*