]> Git Repo - linux.git/blobdiff - drivers/platform/x86/wmi.c
kvm: change memslot sorting rule from size to GFN
[linux.git] / drivers / platform / x86 / wmi.c
index 43d13295e63d53a50b62dae995d3a63b7e112a3a..737e56d46f61950826419bbef2d9fb66d69abcc1 100644 (file)
@@ -256,10 +256,6 @@ static acpi_status wmi_method_enable(struct wmi_block *wblock, int enable)
        block = &wblock->gblock;
        handle = wblock->handle;
 
-       if (!block)
-               return AE_NOT_EXIST;
-
-
        snprintf(method, 5, "WE%02X", block->notify_id);
        status = acpi_execute_simple_method(handle, method, enable);
 
This page took 0.029683 seconds and 4 git commands to generate.