mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
maple_tree: remove extra return statement
For functions with a return type of void, it is unnecessary to add a reurn statement at the end of the function, so drop it. Link: https://lkml.kernel.org/r/20221221060058.609003-3-vernon2gm@gmail.com Signed-off-by: Vernon Yang <vernon2gm@gmail.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
831978e37e
commit
d56c593c8e
@ -1276,7 +1276,6 @@ static inline void mas_alloc_nodes(struct ma_state *mas, gfp_t gfp)
|
||||
if (mas->alloc && !(((unsigned long)mas->alloc & 0x1)))
|
||||
mas->alloc->total = success;
|
||||
mas_set_err(mas, -ENOMEM);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -4712,8 +4711,6 @@ static inline void mas_rewalk(struct ma_state *mas, unsigned long index)
|
||||
mas_state_walk(mas);
|
||||
if (mas_is_start(mas))
|
||||
goto retry;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user