提交 f3946fb6 编写于 作者: T Thomas Renninger 提交者: Len Brown

ACPI: Untangle a return statement for better readability

No functional change.
Signed-off-by: NThomas Renninger <trenn@suse.de>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 0d7614f0
......@@ -304,8 +304,10 @@ int __init acpi_numa_init(void)
acpi_numa_arch_fixup();
if (cnt <= 0)
return cnt ?: -ENOENT;
if (cnt < 0)
return cnt;
else if (cnt == 0)
return -ENOENT;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册