diff options
author | 2013-09-02 11:57:38 +0800 | |
---|---|---|
committer | 2013-09-24 01:39:40 +0200 | |
commit | 082e12a05cf317acec2feaf3a78de3f3372feeb3 (patch) | |
tree | a55906aea327d7d74e2dc69e40d04031d8df2611 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / processor: remove some dead code in acpi_processor_get_info() (diff) | |
download | linux-dev-082e12a05cf317acec2feaf3a78de3f3372feeb3.tar.xz linux-dev-082e12a05cf317acec2feaf3a78de3f3372feeb3.zip |
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 <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions