Skip to content

Commit 026b935

Browse files
Peng Zhangakpm00
authored andcommitted
maple_tree: delete one of the two identical checks
There are two identical checks, delete one of them. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Peng Zhang <[email protected]> Reviewed-by: Liam R. Howlett <[email protected]> Cc: Dan Carpenter <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent c5e9412 commit 026b935

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/maple_tree.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4117,9 +4117,6 @@ static inline bool mas_wr_append(struct ma_wr_state *wr_mas,
41174117
if (mt_in_rcu(mas->tree))
41184118
return false;
41194119

4120-
if (mas->offset != mas->end)
4121-
return false;
4122-
41234120
end = mas->end;
41244121
if (mas->offset != end)
41254122
return false;

0 commit comments

Comments
 (0)