From: Dan Carpenter Date: Tue, 16 Dec 2014 23:57:50 +0000 (+0300) Subject: mmc: mxs-mmc: remove unneeded NULL check X-Git-Tag: fixes-v4.0-rc1~141^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ef219c53f391ea72cd2fea836ac7cade23536eb;p=pandora-kernel.git mmc: mxs-mmc: remove unneeded NULL check Static checkers complain about the inconsistent NULL checking here: drivers/mmc/host/mxs-mmc.c:680 mxs_mmc_probe() warn: variable dereferenced before check 'ssp->dmach' (see line 660) The variable can't actually be NULL so we can remove the check. Signed-off-by: Dan Carpenter Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed