aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power
diff options
context:
space:
mode:
authorErik Schmauss <erik.schmauss@intel.com>2018-11-05 09:43:51 -0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-11-08 18:41:47 +0100
commitc647eb98b0852367752ab22dbf97e9ff146f0c21 (patch)
treea65f0ad752f657ffc7a006a8aab3ede3b001a264 /tools/power
parentLinux 4.20-rc1 (diff)
downloadlinux-dev-c647eb98b0852367752ab22dbf97e9ff146f0c21.tar.xz
linux-dev-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')
0 files changed, 0 insertions, 0 deletions