Skip to content
Commit bccaef90 authored by Markus Elfring's avatar Markus Elfring Committed by Andreas Gruenbacher
Browse files

gfs2: Delete an unnecessary check before brelse()



The brelse() function tests whether its argument is NULL and then
returns immediately.  Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

[The same applies to brelse() in gfs2_dir_no_add (which Coccinelle
apparently missed), so fix that as well.]

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 45eb0504
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