From: Jan Kara Date: Wed, 10 Dec 2014 23:41:42 +0000 (-0800) Subject: ocfs2: remove bogus test from ocfs2_read_locked_inode() X-Git-Tag: omap-for-v3.19/fixes-rc1~142^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a635a113bfe1eaa184410d6b6065cd8eee13607;p=pandora-kernel.git ocfs2: remove bogus test from ocfs2_read_locked_inode() 'args' are always set for ocfs2_read_locked_inode() and brelse() checks whether bh is NULL. So the test (args && bh) is unnecessary (plus the args part is really confusing anyway). Remove it. Coverity id: 1128856. Signed-off-by: Jan Kara Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed