]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: clean up redundant NULL check before iput
authorJoseph Qi <joseph.qi@huawei.com>
Thu, 14 Jan 2016 23:17:27 +0000 (15:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commitfb5a686417d747a58c211e567d40b72cf0b47c8c
treed8bd9db13d56a91bf34eaa24c1c39c2b9cc4983d
parent5ca637dabdd141c47b08e7f1de10cbbb3ac6b017
ocfs2: clean up redundant NULL check before iput

Since iput will take care the NULL check itself, NULL check before
calling it is redundant.  So clean them up.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/alloc.c
fs/ocfs2/ioctl.c
fs/ocfs2/journal.c
fs/ocfs2/localalloc.c
fs/ocfs2/namei.c
fs/ocfs2/slot_map.c
fs/ocfs2/super.c