From: Dan Carpenter Date: Mon, 20 Feb 2012 22:53:05 +0000 (-0500) Subject: ext4: remove an unneeded NULL check in __ext4_check_dir_entry() X-Git-Tag: v3.4-rc1~75^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fda400360e6c15b9dea4351f2ad85845cdfda7e;p=pandora-kernel.git ext4: remove an unneeded NULL check in __ext4_check_dir_entry() We dereference "bh" unconditionally a couple lines down to find "by->b_size". This function is never called with a NULL "bh" so I have removed the check. Signed-off-by: Dan Carpenter Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed