diff options
author | Erik Schmauss <erik.schmauss@intel.com> | 2018-11-05 09:43:51 -0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-11-08 18:41:47 +0100 |
commit | c647eb98b0852367752ab22dbf97e9ff146f0c21 (patch) | |
tree | a65f0ad752f657ffc7a006a8aab3ede3b001a264 /tools | |
parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) |
ACPICA: Debugger: refactor to fix unused variable warning
When building ACPICA in the Linux kernel with Clang with ACPI_DISASSEMBLER
not defined, we get a the following warning on variable display_op:
warning: variable 'display_op' set but not used [-Wunused-but-set-variable]
Fix this by refactoring display_op and parent_op code in a separate function.
Suggested-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions