mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 00:49:43 +00:00
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>
This commit is contained in:
parent
1b313aa3e3
commit
8a856db238
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue