summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2018-02-12 19:35:24 +0530
committerJaehoon Chung <jh80.chung@samsung.com>2018-02-23 15:56:33 +0900
commit8a856db238072dbee370cb0f01648fe0462fe677 (patch)
treee6b6907e8d7c8449748505ea0c639ae796eb43cc /drivers
parent1b313aa3e33de09db7b48de5d325fd22e73e1f47 (diff)
mmc: Drop unnecessary case for mmc_probe()
Drop the unnecessary empty function case for mmc_probe(). Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/mmc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 5d9b54149a..31f65f6e24 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;