From: Markus Elfring Date: Tue, 14 Apr 2015 22:42:42 +0000 (-0700) Subject: ocfs2: delete unnecessary checks before three function calls X-Git-Tag: omap-for-v4.1/fixes-rc1~151^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd90d4dfb94a8c0d626c0c85ca7dcfb905f81a65;p=pandora-kernel.git ocfs2: delete unnecessary checks before three function calls kfree(), ocfs2_free_path() and __ocfs2_free_slot_info() test whether their argument is NULL and then return immediately. Thus the test around their calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed