]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit13ce92c58b4a1174e2abbc401bb514e9d8219775
tree9243b4492843997d973e1aa6e88651a3016bb270
parent260c27a4530a36aaa7fb38692e656599d127a658
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