btrfs: remove unused logic when looking up delayed items
authorFilipe Manana <fdmanana@suse.com>
Wed, 17 Aug 2022 11:22:41 +0000 (12:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:27:56 +0000 (12:27 +0200)
commit4cbf37f504a5c4a9d1c695a8552be6025f37d668
tree8d5f5a41abf4c5527d36fa2250dc21236df19e42
parent96d89923fa9496280e3cd1d504058d99df79f22e
btrfs: remove unused logic when looking up delayed items

All callers pass NULL to the 'prev' and 'next' arguments of the function
__btrfs_lookup_delayed_item(), so remove these arguments. Also, remove
the unnecessary wrapper __btrfs_lookup_delayed_insertion_item(), making
btrfs_delete_delayed_insertion_item() directly call
__btrfs_lookup_delayed_item().

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-inode.c