commit | 9ef219c53f391ea72cd2fea836ac7cade23536eb | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Dec 17 02:57:50 2014 +0300 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jan 19 09:56:10 2015 +0100 |
tree | 5442c108890147687b40f5491aec9ab40ccd2644 | |
parent | de0673cdf064a102241365835673b56e10198a3e [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>