diff options
Diffstat (limited to 'drivers/acpi/parser/pswalk.c')
| -rw-r--r-- | drivers/acpi/parser/pswalk.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/acpi/parser/pswalk.c b/drivers/acpi/parser/pswalk.c index 06f05bfd7612..a84a547a0f1b 100644 --- a/drivers/acpi/parser/pswalk.c +++ b/drivers/acpi/parser/pswalk.c | |||
| @@ -64,18 +64,21 @@ void acpi_ps_delete_parse_tree(union acpi_parse_object *subtree_root) | |||
| 64 | union acpi_parse_object *next = NULL; | 64 | union acpi_parse_object *next = NULL; |
| 65 | union acpi_parse_object *parent = NULL; | 65 | union acpi_parse_object *parent = NULL; |
| 66 | 66 | ||
| 67 | ACPI_FUNCTION_TRACE_PTR("ps_delete_parse_tree", subtree_root); | 67 | ACPI_FUNCTION_TRACE_PTR(ps_delete_parse_tree, subtree_root); |
| 68 | 68 | ||
| 69 | /* Visit all nodes in the subtree */ | 69 | /* Visit all nodes in the subtree */ |
| 70 | 70 | ||
| 71 | while (op) { | 71 | while (op) { |
| 72 | |||
| 72 | /* Check if we are not ascending */ | 73 | /* Check if we are not ascending */ |
| 73 | 74 | ||
| 74 | if (op != parent) { | 75 | if (op != parent) { |
| 76 | |||
| 75 | /* Look for an argument or child of the current op */ | 77 | /* Look for an argument or child of the current op */ |
| 76 | 78 | ||
| 77 | next = acpi_ps_get_arg(op, 0); | 79 | next = acpi_ps_get_arg(op, 0); |
| 78 | if (next) { | 80 | if (next) { |
| 81 | |||
| 79 | /* Still going downward in tree (Op is not completed yet) */ | 82 | /* Still going downward in tree (Op is not completed yet) */ |
| 80 | 83 | ||
| 81 | op = next; | 84 | op = next; |
