diff options
author | 2022-09-21 12:48:02 +0900 | |
---|---|---|
committer | 2022-10-03 14:21:44 -0700 | |
commit | 0badb2e46a7699d09ef09a2c7f8f4fe66c15e606 (patch) | |
tree | 66489a81dca2be5c5828d8ccb032b5d2005cd5d5 /fs/nilfs2/btree.h | |
parent | checkpatch: warn for non-standard fixes tag style (diff) | |
download | linux-0badb2e46a7699d09ef09a2c7f8f4fe66c15e606.tar.gz linux-0badb2e46a7699d09ef09a2c7f8f4fe66c15e606.tar.bz2 linux-0badb2e46a7699d09ef09a2c7f8f4fe66c15e606.zip |
nilfs2: delete unnecessary checks before brelse()
Patch series "nilfs2 minor amendments".
This patch (of 2):
The brelse() inline function tests whether its argument is NULL and then
returns immediately. Thus remove the tests which are not needed around
the shown calls.
Link: https://lkml.kernel.org/r/20220921034803.2476-1-konishi.ryusuke@gmail.com
Link: https://lkml.kernel.org/r/20220819081700.96279-1-chi.minghao@zte.com.cn
Link: https://lkml.kernel.org/r/20220921034803.2476-2-konishi.ryusuke@gmail.com
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/btree.h')
0 files changed, 0 insertions, 0 deletions