summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorYiqing Wu <wuyiqing@cmss.chinamobile.com>2026-11-16 09:48:02 +0800
committerCarlos Maiolino <cem@kernel.org>2026-11-16 11:25:42 +0100
commit56b3c41b05ae2fc342ac874757d65482322eb360 (patch)
tree46d76e62b75d23c6d47d5d40de7a157d775523d6 /tools/perf/scripts/python/bin
parentf0b9e58eee233547e5d77e467ccee89d7a59dd63 (diff)
xfs: remove unused variable in xchk_stats_estimate_bufsize()
The css variable in xchk_stats_estimate_bufsize() is initialized to point to the start of the cs_stats array and incremented on every iteration of the scan loop, but it is never dereferenced. GCC flags this as a dead assignment when building with W=1: fs/xfs/scrub/stats.c:146:34: warning: variable css set but not used [-Wunused-but-set-variable=] Drop the variable and the loop increment. Signed-off-by: Yiqing Wu <wuyiqing@cmss.chinamobile.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions