aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-06-16 17:03:35 +0000
committerRafael J. Wysocki <[email protected]>2021-06-17 15:10:11 +0000
commit0023b28bdbb4cfd000da066d05b0743aa4f8732a (patch)
treed7dd12c50efd4dd135ab0ab967138b892efeec7a /lib/dump_stack.c
parentACPI: sysfs: Unify pattern of memory allocations (diff)
downloadkernel-0023b28bdbb4cfd000da066d05b0743aa4f8732a.tar.gz
kernel-0023b28bdbb4cfd000da066d05b0743aa4f8732a.zip
ACPI: sysfs: Refactor param_get_trace_state() to drop dead code
The param_get_trace_state() has a few dead code issues: - 'return 0;' is never reachable - a few 'else' keywords are redundant Refactor param_get_trace_state() to drop dead code. Note, leave one 'else' in order to have the best readability. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions