Re: [PATCH] nilfs2: delete unnecessary checks before brelse()
From: Ryusuke Konishi
Date: Fri Aug 19 2022 - 04:43:25 EST
On Fri, Aug 19, 2022 at 5:17 PM wrote:
>
> From: Minghao Chi <chi.minghao@xxxxxxxxxx>
>
> The brelse() function tests whether its argument is NULL
> and then returns immediately.
> Thus remove the tests which are not needed around the shown calls.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Minghao Chi <chi.minghao@xxxxxxxxxx>
> ---
> fs/nilfs2/btree.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Will apply, thanks!
Ryusuke Konishi