summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMassimiliano Pellizzer <mpellizzer.dev@gmail.com>2025-12-04 22:09:59 +0100
committerDavid Sterba <dsterba@suse.com>2026-02-03 06:38:33 +0100
commitd7a5d511c098ed3e67912272c938627f04a1a9ad (patch)
tree9aaac1785b4e58d22f41506623a3e0b165506758 /tools/perf/scripts/python/event_analyzing_sample.py
parente6698b34fab33867ef3faeeea6feb165f31aae24 (diff)
downloadlinux-d7a5d511c098ed3e67912272c938627f04a1a9ad.tar.gz
linux-d7a5d511c098ed3e67912272c938627f04a1a9ad.zip
btrfs: remove dead assignment in prepare_one_folio()
In prepare_one_folio(), ret is initialized to 0 at declaration, and in an error path we assign ret = 0 before jumping to the again label to retry the operation. However, ret is immediately overwritten by ret = set_folio_extent_mapped(folio) after the again label. Both assignments are never observed by any code path, therefore they can be safely removed. Signed-off-by: Massimiliano Pellizzer <mpellizzer.dev@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions