jbd: Deletion of an unnecessary check before the function call "iput"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 16 Nov 2014 22:23:19 +0000 (23:23 +0100)
committerJan Kara <jack@suse.cz>
Tue, 18 Nov 2014 09:15:29 +0000 (10:15 +0100)
commit11cc9f56a18d371634d07b1be7e8772f6f7dcec5
treea7eef01dd35d99b5cff0bf5bb6ddb16d3293f2ca
parent75cbe701a4251fcd8b846d52ae42f88c9a8e5e93
jbd: Deletion of 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: Jan Kara <jack@suse.cz>
fs/jbd/journal.c