diff options
author | Bob Moore <robert.moore@intel.com> | 2009-05-20 22:27:51 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-05-27 00:35:50 -0400 |
commit | 8c725bf93706db976e9de495579ca625d493e809 (patch) | |
tree | 2299fdabb28ddc5cb81085dcfd13afaffc86febc /drivers/acpi/acpica/nsxfobj.c | |
parent | 474caffdc1ab35e9bcb1f88768442e3a4079a10d (diff) |
ACPICA: Simplify and optimize NsGetNextNode function
Reduced parameter count and reduced code for this frequently
used function.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/nsxfobj.c')
-rw-r--r-- | drivers/acpi/acpica/nsxfobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nsxfobj.c b/drivers/acpi/acpica/nsxfobj.c index 1c7efc15225f..dd33d8b53d6d 100644 --- a/drivers/acpi/acpica/nsxfobj.c +++ b/drivers/acpi/acpica/nsxfobj.c | |||
@@ -268,7 +268,7 @@ acpi_get_next_object(acpi_object_type type, | |||
268 | 268 | ||
269 | /* Internal function does the real work */ | 269 | /* Internal function does the real work */ |
270 | 270 | ||
271 | node = acpi_ns_get_next_node(type, parent_node, child_node); | 271 | node = acpi_ns_get_next_node_typed(type, parent_node, child_node); |
272 | if (!node) { | 272 | if (!node) { |
273 | status = AE_NOT_FOUND; | 273 | status = AE_NOT_FOUND; |
274 | goto unlock_and_exit; | 274 | goto unlock_and_exit; |