]> git.sur5r.net Git - u-boot/commit
mmc: sdhci: do not compare pointer to 0
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 10 Nov 2017 20:13:34 +0000 (21:13 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:03 +0000 (18:11 +0900)
commitbb7b4ef3704cfd25e30a36f76342df118ec24a25
tree1c81bf8b3285c07757667bad7822ab05e65adaf6
parent713e6815d953108a78bd33470ab90fc2ec5a7198
mmc: sdhci: do not compare pointer to 0

data is defined as struct mmc_data *data.
So it should not be compared to 0.

Problem identified with Coccinelle.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/mmc/sdhci.c