diff options
| -rw-r--r-- | drivers/platform/x86/dell-laptop.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index c4903c5ce7cf..2d704361f672 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c | |||
| @@ -2073,6 +2073,11 @@ static int __init dell_init(void) | |||
| 2073 | if (ret) | 2073 | if (ret) |
| 2074 | goto fail_platform_device2; | 2074 | goto fail_platform_device2; |
| 2075 | 2075 | ||
| 2076 | buffer = kzalloc(sizeof(struct calling_interface_buffer), GFP_KERNEL); | ||
| 2077 | if (!buffer) | ||
| 2078 | goto fail_buffer; | ||
| 2079 | |||
| 2080 | |||
| 2076 | ret = dell_setup_rfkill(); | 2081 | ret = dell_setup_rfkill(); |
| 2077 | 2082 | ||
| 2078 | if (ret) { | 2083 | if (ret) { |
| @@ -2080,10 +2085,6 @@ static int __init dell_init(void) | |||
| 2080 | goto fail_rfkill; | 2085 | goto fail_rfkill; |
| 2081 | } | 2086 | } |
| 2082 | 2087 | ||
| 2083 | buffer = kzalloc(sizeof(struct calling_interface_buffer), GFP_KERNEL); | ||
| 2084 | if (!buffer) | ||
| 2085 | goto fail_buffer; | ||
| 2086 | |||
| 2087 | if (quirks && quirks->touchpad_led) | 2088 | if (quirks && quirks->touchpad_led) |
| 2088 | touchpad_led_init(&platform_device->dev); | 2089 | touchpad_led_init(&platform_device->dev); |
| 2089 | 2090 | ||
