ACPI / numa: Simplify acpi_get_node() style
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2014 22:42:17 +0000 (15:42 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 3 Feb 2014 17:39:32 +0000 (10:39 -0700)
commit962fe9c91c5faa271e21c6ef589ff1df02fa13ed
tree102052ba5ff2b6835966e70a5b987bb014d623ff
parent486c79b5002e4a75c1c3614180702196ec6d904d
ACPI / numa: Simplify acpi_get_node() style

Simplify control flow by removing local variable initialization and
returning a constant as soon as possible.  No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/numa.c