diff options
| author | Hans de Goede <[email protected]> | 2021-06-09 17:51:30 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-06-10 13:10:16 +0000 |
| commit | f39de44fbb478ed476f001ca505b2b58d3345a30 (patch) | |
| tree | df8cfdcacd24760494c6e9340716270610d7ab61 /lib/dump_stack.c | |
| parent | Linux 5.13-rc5 (diff) | |
| download | kernel-f39de44fbb478ed476f001ca505b2b58d3345a30.tar.gz kernel-f39de44fbb478ed476f001ca505b2b58d3345a30.zip | |
ACPI: Remove redundant clearing of context->ret.pointer from acpi_run_osc()
context->ret.pointer already gets set to NULL at the beginning of
acpi_run_osc() and it only gets assigned a new value in the success
path near the end of acpi_run_osc(), so the clearing of
context->ret.pointer (when status != AE_OK) at the end of
acpi_run_osc() is redundant since it will always already be NULL when
status != AE_OK.
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
