From: Faiz Abbas Date: Mon, 12 Feb 2018 14:05:24 +0000 (+0530) Subject: mmc: Drop unnecessary case for mmc_probe() X-Git-Tag: v2018.03-rc4~26^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a856db238072dbee370cb0f01648fe0462fe677;p=thirdparty%2Fu-boot.git mmc: Drop unnecessary case for mmc_probe() Drop the unnecessary empty function case for mmc_probe(). Signed-off-by: Faiz Abbas --- diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 5d9b54149a4..31f65f6e242 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -2653,12 +2653,7 @@ void mmc_set_preinit(struct mmc *mmc, int preinit) mmc->preinit = preinit; } -#if CONFIG_IS_ENABLED(DM_MMC) && defined(CONFIG_SPL_BUILD) -static int mmc_probe(bd_t *bis) -{ - return 0; -} -#elif CONFIG_IS_ENABLED(DM_MMC) +#if CONFIG_IS_ENABLED(DM_MMC) static int mmc_probe(bd_t *bis) { int ret, i;