summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/inode.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2014-12-10 15:54:31 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-10 17:41:16 -0800
commit72b9918ea4d7f2d8362a2defdb93e5fd25a86308 (patch)
treea94837bae536c36c8c382aadefd429564c98658e /fs/nilfs2/inode.c
parent75dc857c46996e336cb2f9cf0ed1e5508fb241a7 (diff)
downloadop-kernel-dev-72b9918ea4d7f2d8362a2defdb93e5fd25a86308.zip
op-kernel-dev-72b9918ea4d7f2d8362a2defdb93e5fd25a86308.tar.gz
nilfs2: 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: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/inode.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud