diff options
Diffstat (limited to 'drivers/platform/x86/wmi.c')
-rw-r--r-- | drivers/platform/x86/wmi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index 784cea8572c2..59e9aa0f9643 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c | |||
@@ -340,9 +340,7 @@ static acpi_status __query_block(struct wmi_block *wblock, u8 instance, | |||
340 | * expensive, but have no corresponding WCxx method. So we | 340 | * expensive, but have no corresponding WCxx method. So we |
341 | * should not fail if this happens. | 341 | * should not fail if this happens. |
342 | */ | 342 | */ |
343 | if (acpi_has_method(handle, wc_method)) | 343 | wc_status = acpi_execute_simple_method(handle, wc_method, 1); |
344 | wc_status = acpi_execute_simple_method(handle, | ||
345 | wc_method, 1); | ||
346 | } | 344 | } |
347 | 345 | ||
348 | strcpy(method, "WQ"); | 346 | strcpy(method, "WQ"); |