diff options
author | YueHaibing <[email protected]> | 2019-06-21 19:19:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-07-03 17:36:43 +0200 |
commit | 9800db282dff675dd700d5985d90b605c34b5ccd (patch) | |
tree | 8b2fad42190bf1cafe6f7e853e8a214f49eed438 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b96fb368b08f1637cbf780a6b83e36c2c5ed4ff5 (diff) |
intel_th: msu: Remove set but not used variable 'last'
Commit aad14ad3cf3a ("intel_th: msu: Add current window tracking") added
the following gcc warning:
> drivers/hwtracing/intel_th/msu.c: In function msc_win_switch:
> drivers/hwtracing/intel_th/msu.c:1389:21: warning: variable last set but
> not used [-Wunused-but-set-variable]
Fix it by removing the variable.
Signed-off-by: YueHaibing <[email protected]>
Fixes: aad14ad3cf3a ("intel_th: msu: Add current window tracking")
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions