summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/journal.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2014-11-26 02:01:37 +0100
committerTheodore Ts'o <tytso@mit.edu>2014-11-26 02:01:37 +0100
commitbfcba2d0352f7916e98a1cec54c1c2473da6f4d6 (patch)
tree654f2cebb323496ec94f85c0934afe6aa1931613 /fs/jbd2/journal.c
parentext4: remove unneeded code in ext4_unlink (diff)
downloadlinux-bfcba2d0352f7916e98a1cec54c1c2473da6f4d6.tar.xz
linux-bfcba2d0352f7916e98a1cec54c1c2473da6f4d6.zip
ext4: Remove an unnecessary check for NULL before 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: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/journal.c')
0 files changed, 0 insertions, 0 deletions