[PATCH 5/6] ACPI / processor: remove unnecessary if (!pr) check

2013-08-31 Thread Hanjun Guo
acpi_processor_errata() is only called in acpi_processor_get_info(), and the argument 'pr' passed to acpi_processor_errata() will be never NULL, so the if (!pr) check is unnecessary. Since the 'pr' argument is not used by acpi_processor_errata() any more, so change the argument into void.

[PATCH 5/6] ACPI / processor: remove unnecessary if (!pr) check

2013-08-31 Thread Hanjun Guo
acpi_processor_errata() is only called in acpi_processor_get_info(), and the argument 'pr' passed to acpi_processor_errata() will be never NULL, so the if (!pr) check is unnecessary. Since the 'pr' argument is not used by acpi_processor_errata() any more, so change the argument into void.