udf: Deletion of unnecessary checks before the function call "iput"
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 18 Nov 2014 16:17:46 +0000 (17:17 +0100)
committerJan Kara <jack@suse.cz>
Wed, 19 Nov 2014 20:55:45 +0000 (21:55 +0100)
commit0d454e4a443178863f858cdafac870ceb1989407
tree7dfb38bffe7efbbf049d13eeee861da425e1e221
parent11cc9f56a18d371634d07b1be7e8772f6f7dcec5
udf: Deletion of unnecessary checks 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/udf/super.c