diff options
Diffstat (limited to 'drivers/platform/x86/wmi.c')
-rw-r--r-- | drivers/platform/x86/wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index b8e5383eab0..05cc79672a8 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c | |||
@@ -820,7 +820,7 @@ static acpi_status parse_wdg(acpi_handle handle) | |||
820 | retval = wmi_create_device(&gblock[i], wblock, handle); | 820 | retval = wmi_create_device(&gblock[i], wblock, handle); |
821 | if (retval) { | 821 | if (retval) { |
822 | wmi_free_devices(); | 822 | wmi_free_devices(); |
823 | break; | 823 | goto out_free_pointer; |
824 | } | 824 | } |
825 | } | 825 | } |
826 | 826 | ||