aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-11-13 13:00:12 +0000
committerDavid Sterba <dsterba@suse.com>2025-01-13 14:53:14 +0100
commitd0ad40d730ef30e51d3ec4e3b8c9b6691053354a (patch)
treefafb84f7bcbecf99fd2a704cf2c7abe31d445ff1 /tools/perf/scripts/python/flamegraph.py
parentbtrfs: use PTR_ERR() instead of PTR_ERR_OR_ZERO() for btrfs_get_extent() (diff)
downloadlinux-d0ad40d730ef30e51d3ec4e3b8c9b6691053354a.tar.gz
linux-d0ad40d730ef30e51d3ec4e3b8c9b6691053354a.zip
btrfs: send: remove redundant assignments to variable ret
The variable ret is being initialized to zero and also later re-assigned to zero. In both cases the assignment is redundant since the value is never read after the assignment and hence they can be removed. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions