mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
maple_tree: delete one of the two identical checks
There are two identical checks, delete one of them. Link: https://lkml.kernel.org/r/20231120070937.35481-5-zhangpeng.00@bytedance.com Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
c5e9412138
commit
026b935cd9
1 changed files with 0 additions and 3 deletions
|
@ -4117,9 +4117,6 @@ static inline bool mas_wr_append(struct ma_wr_state *wr_mas,
|
||||||
if (mt_in_rcu(mas->tree))
|
if (mt_in_rcu(mas->tree))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (mas->offset != mas->end)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
end = mas->end;
|
end = mas->end;
|
||||||
if (mas->offset != end)
|
if (mas->offset != end)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue