summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYiqing Wu <wuyiqing@cmss.chinamobile.com>2026-11-16 10:05:10 +0800
committerCarlos Maiolino <cem@kernel.org>2026-11-16 11:25:51 +0100
commit5c7da17f904da61c6912ae719e8f3c3eb353ee88 (patch)
tree0bb89cd9b0e598d34974ffce40409830953b71b5 /tools/perf/scripts/python
parent56b3c41b05ae2fc342ac874757d65482322eb360 (diff)
xfs: remove unused variable in xrep_tempfile_copyin()
The pos variable in xrep_tempfile_copyin() is initialized from the starting file offset and incremented on every iteration of the copy loop, but it is never used. GCC flags this as a dead assignment when building with W=1: fs/xfs/scrub/tempfile.c:493:33: warning: variable pos 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')
0 files changed, 0 insertions, 0 deletions