Commit 11f9c321 authored by Hanjun Guo's avatar Hanjun Guo Committed by Greg Kroah-Hartman

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: default avatarHanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 28432995
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment