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>
This commit is contained in:
@@ -268,7 +268,7 @@ acpi_get_next_object(acpi_object_type type,
|
||||
|
||||
/* Internal function does the real work */
|
||||
|
||||
node = acpi_ns_get_next_node(type, parent_node, child_node);
|
||||
node = acpi_ns_get_next_node_typed(type, parent_node, child_node);
|
||||
if (!node) {
|
||||
status = AE_NOT_FOUND;
|
||||
goto unlock_and_exit;
|
||||
|
Reference in New Issue
Block a user