Messages in this thread | | | From | Ryusuke Konishi <> | Date | Fri, 19 Aug 2022 17:42:57 +0900 | Subject | Re: [PATCH] nilfs2: delete unnecessary checks before brelse() |
| |
On Fri, Aug 19, 2022 at 5:17 PM wrote: > > From: Minghao Chi <chi.minghao@zte.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@zte.com.cn> > Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn> > --- > fs/nilfs2/btree.c | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-)
Will apply, thanks!
Ryusuke Konishi
| |