Commit f3946fb6 authored by Thomas Renninger's avatar Thomas Renninger Committed by Len Brown

ACPI: Untangle a return statement for better readability

No functional change.
Signed-off-by: default avatarThomas Renninger <trenn@suse.de>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment