aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorKelsey Skunberg <[email protected]>2019-07-21 21:11:58 -0600
committerAndy Shevchenko <[email protected]>2019-07-30 14:12:51 +0300
commitbad9da86f9f10a2e68a1574dd34edde6f8556d5f (patch)
tree82b529258d9d5179e7dcc73ea7e1e07113e4d89a /tools/lib/api/debug.c
parent5599e98fe06a88db55133ae8ac53f69216b82c6a (diff)
platform/x86: wmi: Remove acpi_has_method() call
acpi_has_method() is unnecessary within __query_block() and should be removed to avoid extra work. wc_status is initialized to AE_ERROR before the acpi_has_method() call. acpi_has_method() and acpi_execute_simple_method() failing due to the method not existing will result in the same outcome from __query_block(). Signed-off-by: Kelsey Skunberg <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions