mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Hanjun Guo <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
7e1f85f96d
commit
2d4d3e2a06
1 changed files with 0 additions and 3 deletions
|
|
@ -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 a new issue