summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/hp-wmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/hp-wmi.c')
-rw-r--r--drivers/platform/x86/hp-wmi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c
index 45b2bbe6d83..524ffabc286 100644
--- a/drivers/platform/x86/hp-wmi.c
+++ b/drivers/platform/x86/hp-wmi.c
@@ -610,9 +610,7 @@ static int __devinit hp_wmi_bios_setup(struct platform_device *device)
bluetooth_rfkill = NULL;
wwan_rfkill = NULL;
- err = hp_wmi_rfkill_setup(device);
- if (err)
- return err;
+ hp_wmi_rfkill_setup(device);
err = device_create_file(&device->dev, &dev_attr_display);
if (err)