提交 11f9c321 编写于 作者: H Hanjun Guo 提交者: 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: NHanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册