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:
parent
28432995fc
commit
11f9c3218b
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue