GFS2: Delete an unnecessary check before the function call "iput"
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 13 Nov 2015 13:55:59 +0000 (07:55 -0600)
committerBob Peterson <rpeterso@redhat.com>
Mon, 16 Nov 2015 17:56:26 +0000 (11:56 -0600)
commit6fde22426be6af261816db5941744b8d3c4c7f96
tree9243b4492843997d973e1aa6e88651a3016bb270
parentacc546fd6108cb17f87f985e4235b68756d7b01f
GFS2: Delete an unnecessary check before the function call "iput"

The iput() 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.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/ops_fstype.c