aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorBrian Foster <[email protected]>2023-12-19 09:02:15 -0500
committerKent Overstreet <[email protected]>2024-01-01 11:47:41 -0500
commitd8d819580ae02ba37388769b72f86cb4432a1cb9 (patch)
treeb0a021228cd7587c57ceb28cc68ca64d82d80f3d /tools/perf/scripts/python/task-analyzer.py
parenta7dc10ce689a6224c1601d5d2e4ca57dd8cce9f6 (diff)
bcachefs: clean up some dead fallocate code
The have_reservation local variable in bch2_extent_fallocate() is initialized to false and set to true further down in the function. Between this two points, one branch of code checks for negative value and one for positive, and nothing ever checks the variable after it is set to true. Clean up some of the unnecessary logic and code. Signed-off-by: Brian Foster <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions