Revert "ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()"
This reverts commit feb1c4c885
.
This commit is contained in:
parent
7f9358fa8c
commit
4a55e586a9
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ static int acpi_processor_add(struct acpi_device *device,
|
||||||
|
|
||||||
result = acpi_processor_get_info(device);
|
result = acpi_processor_get_info(device);
|
||||||
if (result) /* Processor is not physically present or unavailable */
|
if (result) /* Processor is not physically present or unavailable */
|
||||||
return result;
|
return 0;
|
||||||
|
|
||||||
BUG_ON(pr->id >= nr_cpu_ids);
|
BUG_ON(pr->id >= nr_cpu_ids);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue