From: Alan Jenkins Date: Thu, 3 Dec 2009 07:44:54 +0000 (+0000) Subject: eeepc-laptop: Remove uneccesary acpi_disabled check X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=2adb8bd380314feb8170d58b3852cad2c374d20f;p=deliverable%2Flinux.git eeepc-laptop: Remove uneccesary acpi_disabled check acpi_bus_register_driver() already checks acpi_disabled, so acpi bus drivers don't need to. Signed-off-by: Alan Jenkins Signed-off-by: Len Brown --- diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 7dde47a67997..f5efe8da5e7a 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -1359,8 +1359,6 @@ static int __init eeepc_laptop_init(void) { int result; - if (acpi_disabled) - return -ENODEV; result = acpi_bus_register_driver(&eeepc_hotk_driver); if (result < 0) return result;