mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
ACPI: Untangle a return statement for better readability
No functional change. Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
0d7614f09c
commit
f3946fb6e5
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue