diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-02-25 19:22:41 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-04-07 18:56:00 +0200 |
| commit | 45cc960ff777ac9f4e57c896f1d01adc99fd696e (patch) | |
| tree | 1470231d509b78106e04d7e19be7d4dc047fe7e0 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 01cebce71f2f90abe6a98d3066c085a34b95d96e (diff) | |
btrfs: remove pointless error check in btrfs_check_dir_item_collision()
We're under the IS_ERR() branch so we know that 'ret', which got assigned
the value of PTR_ERR(di) is always negative, so there's no point in
checking if it's negative.
Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
