diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-05-29 16:59:07 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:53:30 +0200 |
| commit | 5f8882c8540efc501e2836afbc0eb06a84bf2ff2 (patch) | |
| tree | ba19bf55540a149fccdcf51c2f6fe9814ab48146 /tools/perf/scripts/python/gecko.py | |
| parent | 93612a92bade22c813599388baca1896a0bbc802 (diff) | |
btrfs: pass NULL index to btrfs_del_inode_ref() where not needed
There are two callers of btrfs_del_inode_ref() that declare a local index
variable and then pass a pointer for it to btrfs_del_inode_ref(), but then
don't use that index at all. Since btrfs_del_inode_ref() accepts a NULL
index pointer, pass NULL instead and stop declaring those useless index
variables.
Reviewed-by: Boris Burkov <boris@bur.io>
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/gecko.py')
0 files changed, 0 insertions, 0 deletions
