Remove useless check in find_delalloc_range
PATCH 1/1 Remove useless check in find_delalloc_range
'found' is always 0 at that point, so the test is redundant.
Signed-off-by Diego Calleja <[email protected]>
--- fs/btrfs/extent_io.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
fs/btrfs/extent_io.c +1 -2
@@ -1092,8 +1092,7 @@ static noinline u64 find_delalloc_range(*/ node =tree_search (tree, cur_start);if (!node) { -if (!found) - *end = (u64)-1 ; + *end = (u64)-1 ; goto out; }