diff options
author | SF Markus Elfring <elfring@users.sourceforge.net> | 2015-09-04 22:43:32 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-04 23:54:41 (GMT) |
commit | 917520e100e1db5e8dd546dd94fef070a31652a5 (patch) | |
tree | a7a2ebd2b26344ee276caa04072ee9339bf2678e /arch | |
parent | 35108d71383c5f4abc286430c0b5da79d22553f9 (diff) | |
download | linux-917520e100e1db5e8dd546dd94fef070a31652a5.tar.xz |
ntfs: delete unnecessary checks before calling iput()
iput() 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>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Reviewed-by: Anton Altaparmakov <anton@tuxera.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions