diff options
author | Augusto Mecking Caringi <[email protected]> | 2017-01-30 10:47:36 +0000 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2017-02-07 11:38:28 +0800 |
commit | da8c1c46f2082ce4a094812806d7eab3c17a4817 (patch) | |
tree | 0a725cc9864c3ba99d5bcb05decfe4d2b5f5f97f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c (diff) |
thermal/intel_powerclamp: Remove set-but-not-used variables
In poll_pkg_cstate() function, the variables jiffies_last and
jiffies_now are set but never used.
This has been detected by building the driver with W=1:
drivers/thermal/intel_powerclamp.c: In function ‘poll_pkg_cstate’:
drivers/thermal/intel_powerclamp.c:464:23: warning: variable
‘jiffies_last’ set but not used [-Wunused-but-set-variable]
static unsigned long jiffies_last;
^
Signed-off-by: Augusto Mecking Caringi <[email protected]>
Acked-by: Jacob Pan <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions