From: Thomas Renninger Date: Tue, 31 Jul 2012 15:41:08 +0000 (+0200) Subject: ACPI: Untangle a return statement for better readability X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f3946fb6e50b750d34f445188fa6746d14596afa;p=linux-beck.git ACPI: Untangle a return statement for better readability No functional change. Signed-off-by: Thomas Renninger Signed-off-by: Len Brown --- diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index e56f3be7b07d..2a6399345c85 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c @@ -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; }