isofs: delete unnecessary checks before brelse()
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 19 Aug 2022 08:14:20 +0000 (08:14 +0000)
committerJan Kara <jack@suse.cz>
Fri, 19 Aug 2022 09:06:18 +0000 (11:06 +0200)
commitd4d361ad00bac10701a8c14d8e1a2967bd2e2813
tree04747d2df6e3d9df8d0e20cb410af30d43a59de6
parente03d3b1b924cbaac91ddf066e4d14a2c4d3ed1d1
isofs: delete unnecessary checks before brelse()

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>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220819081420.96209-1-chi.minghao@zte.com.cn
fs/isofs/inode.c