diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/fujitsu-laptop.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 4c8897a84c68..0d42f444a447 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c | |||
@@ -745,9 +745,6 @@ static int acpi_fujitsu_remove(struct acpi_device *device, int type) | |||
745 | 745 | ||
746 | fujitsu = acpi_driver_data(device); | 746 | fujitsu = acpi_driver_data(device); |
747 | 747 | ||
748 | if (!device || !acpi_driver_data(device)) | ||
749 | return -EINVAL; | ||
750 | |||
751 | fujitsu->acpi_handle = NULL; | 748 | fujitsu->acpi_handle = NULL; |
752 | 749 | ||
753 | return 0; | 750 | return 0; |