From: Hanjun Guo Date: Mon, 2 Sep 2013 03:57:38 +0000 (+0800) Subject: ACPI / processor: remove unnecessary if (!pr) check X-Git-Tag: v3.13-rc1~96^2~27^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=082e12a05cf317acec2feaf3a78de3f3372feeb3;p=pandora-kernel.git ACPI / processor: remove unnecessary if (!pr) check acpi_processor_errata() is only called in acpi_processor_get_info(), and the argument 'pr' passed to acpi_processor_errata() will never be NULL, so the if (!pr) check is unnecessary and can be removed. Since the 'pr' argument is not used by acpi_processor_errata() any more, so change the argument into void too. Signed-off-by: Hanjun Guo Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed