From: Jesper Juhl Date: Mon, 13 Jun 2011 20:16:44 +0000 (+0200) Subject: jffs2: Avoid unneeded 'if' before kfree X-Git-Tag: v3.2-rc1~14^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8a0e41266e9c207ad8ac158cee9547ef1bc90ac;p=pandora-kernel.git jffs2: Avoid unneeded 'if' before kfree kfree() deals gracefully with NULL pointers, so it's pointless to test for one prior to calling it. This removes such a test from jffs2_scan_medium(). Signed-off-by: Jesper Juhl Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed