]> git.dujemihanovic.xyz Git - u-boot.git/commit
btrfs: simplify lookup_data_extent()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 10 May 2022 19:43:38 +0000 (21:43 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 21:47:17 +0000 (17:47 -0400)
commit89ab1e28173b7b23504ecd39e618fc73bbfd0371
tree298d9d3ede38aa6b1bb6199ba7e7a685aae78c7c
parent2e2e784de0605081af7c5c9d04a014af69888c2c
btrfs: simplify lookup_data_extent()

After returning if ret <= 0 we know that ret > 0. No need to check it.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain>
fs/btrfs/inode.c