commit | e88c7409c983fb611f783918c270cd18c11a6c50 | [log] [tgz] |
---|---|---|
author | Kelsey Skunberg <skunberg.kelsey@gmail.com> | Sun Jul 21 20:35:30 2019 -0600 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Sep 02 22:52:50 2019 +0200 |
tree | d688ba2536799dda6ae52c8a4b8afc71365cb16a | |
parent | 85a5f06773c85f8ec5030ed65e5fa3190b3f16bd [diff] |
ACPI: thermal: Remove redundant acpi_has_method() calls The following acpi_has_method() calls are unnecessary since acpi_execute_simple_method() and acpi_evaluate_reference() will return an error if the given method does not exist. Remove acpi_has_method() calls to avoid additional work. Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com> [ rjw: Subject ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>