diff options
author | Naresh Bhat <[email protected]> | 2013-07-01 19:51:00 +0530 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-07-04 13:33:25 +0200 |
commit | 85eb98274fd81c44e721c275ced54661ee9d5b05 (patch) | |
tree | 8b88ec1569f94e53791a0006feecdf4cd6c184c6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | b67cf7c44c7e6b485f1c255ac3c1fe98cc99b677 (diff) |
ACPI / fan: Initialize acpi_state variable
Make the following compiler warning go away:
CC drivers/acpi/fan.o
drivers/acpi/fan.c: In function ‘fan_get_cur_state’:
drivers/acpi/fan.c:96:9: warning: ‘acpi_state’ may be used uninitialized in this function [-Wuninitialized]
by initializing the local variable acpi_state in fan_get_cur_state().
[rjw: Changelog]
Signed-off-by: Naresh Bhat <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions