aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-06-09 17:51:30 +0000
committerRafael J. Wysocki <[email protected]>2021-06-10 13:10:16 +0000
commitf39de44fbb478ed476f001ca505b2b58d3345a30 (patch)
treedf8cfdcacd24760494c6e9340716270610d7ab61 /lib/dump_stack.c
parentLinux 5.13-rc5 (diff)
downloadkernel-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