diff options
author | Peter Zijlstra <[email protected]> | 2021-10-12 16:08:07 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-10-15 11:25:15 +0200 |
commit | 37b47298ab864fb3f5488ddebfc35267ceab0553 (patch) | |
tree | a156ebd296c01d670825e34dfedb9f1029c35dfb /tools/perf/scripts/python/task-analyzer.py | |
parent | 42a20f86dc19f9282d974df0ba4d226c865ab9dd (diff) |
sched: Disable -Wunused-but-set-variable
The compilers can't deal with obvious DCE vs that warning, resulting
in code like:
if (0) {
sched sched_statistics *stats;
stats = __schedstats_from_se(se);
...
}
triggering the warning. Kill the warning to make the robots stop
reporting this.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions