Staging / quickstart: remove reduplicate if(acpi_disabled) check

In acpi_bus_register_driver(), there is an if (acpi_disabled) check,
so the if(acpi_disabled) before it is reduplicate, remove it.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Hanjun Guo 2013-09-22 19:05:47 +08:00 committed by Greg Kroah-Hartman
parent 28432995fc
commit 11f9c3218b

View file

@ -390,10 +390,6 @@ static int __init quickstart_init(void)
{
int ret;
/* ACPI Check */
if (acpi_disabled)
return -ENODEV;
/* ACPI driver register */
ret = acpi_bus_register_driver(&quickstart_acpi_driver);
if (ret)