summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-03-18 02:46:46 +0300
committerJens Axboe <axboe@kernel.dk>2022-03-21 15:31:36 +0300
commit93b4e74789dbdefcffc7baac107069e74d98513c (patch)
treee287efdada440be3bfc985c003775457dd90eeef /tools/perf/scripts/python/flamegraph.py
parentae53aea611b7a532a52ba966281a8b7a8cfd008a (diff)
downloadlinux-93b4e74789dbdefcffc7baac107069e74d98513c.tar.xz
xen-blkback: remove redundant assignment to variable i
Variable i is being assigned a value that is never read, it is being re-assigned later in a for-loop. The assignment is redundant and can be removed. Cleans up clang scan build warning: drivers/block/xen-blkback/blkback.c:934:14: warning: Although the value stored to 'i' is used in the enclosing expression, the value is never actually read from 'i' [deadcode.DeadStores] Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Acked-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20220317234646.78158-1-colin.i.king@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions