diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-04-02 13:23:45 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-05-15 14:30:41 +0200 |
| commit | c54c245f809aab1c81c626a4a667faba86b63adf (patch) | |
| tree | 0ce8a1a12533c34278ec3be837c2eb3537a00369 /tools/perf/scripts/python | |
| parent | btrfs: fix documentation for tree_search_for_insert() (diff) | |
| download | linux-c54c245f809aab1c81c626a4a667faba86b63adf.tar.gz linux-c54c245f809aab1c81c626a4a667faba86b63adf.zip | |
btrfs: remove redundant check at find_first_extent_bit_state()
The tree_search() function always returns an entry that either contains
the search offset or the first entry in the tree that starts after the
offset. So checking at find_first_extent_bit_state() if the returned
entry ends at or after the search offset is pointless. Remove the check.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
