commit | 0023b28bdbb4cfd000da066d05b0743aa4f8732a | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Jun 16 20:03:35 2021 +0300 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Jun 17 17:10:11 2021 +0200 |
tree | d7dd12c50efd4dd135ab0ab967138b892efeec7a | |
parent | b272c05984679c855ff2d08c9d54957bdcfd9b3b [diff] |
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 <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>