diff options
author | Erik Schmauss | 2018-11-05 18:43:51 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2018-11-08 18:41:47 +0100 |
commit | c647eb98b0852367752ab22dbf97e9ff146f0c21 (patch) | |
tree | a65f0ad752f657ffc7a006a8aab3ede3b001a264 /tools/power/acpi | |
parent | Linux 4.20-rc1 (diff) | |
download | kernel-qcow2-linux-c647eb98b0852367752ab22dbf97e9ff146f0c21.tar.gz kernel-qcow2-linux-c647eb98b0852367752ab22dbf97e9ff146f0c21.tar.xz kernel-qcow2-linux-c647eb98b0852367752ab22dbf97e9ff146f0c21.zip |
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/power/acpi')
0 files changed, 0 insertions, 0 deletions