Skip to content
Commit e0f49d27 authored by Markus Elfring's avatar Markus Elfring Committed by Theodore Ts'o
Browse files

ext4: 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.

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Reviewed-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/0d713702-072f-a89c-20ec-ca70aa83a432@web.de


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent e4d7f2d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment