[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKFNMon7N0NAHNoXuH7JzwqbO_we95X+2MFi2tHf3OPs_uygNg@mail.gmail.com>
Date: Fri, 19 Aug 2022 17:42:57 +0900
From: Ryusuke Konishi <konishi.ryusuke@...il.com>
To: cgel.zte@...il.com
Cc: linux-nilfs@...r.kernel.org, linux-kernel@...r.kernel.org,
Minghao Chi <chi.minghao@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] nilfs2: delete unnecessary checks before brelse()
On Fri, Aug 19, 2022 at 5:17 PM wrote:
>
> From: Minghao Chi <chi.minghao@....com.cn>
>
> 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@....com.cn>
> Signed-off-by: Minghao Chi <chi.minghao@....com.cn>
> ---
> fs/nilfs2/btree.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Will apply, thanks!
Ryusuke Konishi
Powered by blists - more mailing lists