]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove unneeded return variable in btrfs_lookup_file_extent
authorMarcos Paulo de Souza <mpdesouza@suse.com>
Mon, 26 Jul 2021 18:51:07 +0000 (15:51 -0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:01 +0000 (13:19 +0200)
commit9e5ea9741ecea6e631dc3f9222c6b23fa691bb40
treee07f6923bd52d06a56bc2de5c21a2d8ffdd2d583
parentd37214d9ecc4dbafb0b9104ccb828c8ce4fe6d36
btrfs: remove unneeded return variable in btrfs_lookup_file_extent

We can return from btrfs_search_slot directly which also shows that it
follows the same return value convention.

Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/file-item.c