mmc: Drop unnecessary case for mmc_probe()
PATCH 1/1 mmc: Drop unnecessary case for mmc_probe()
Drop the unnecessary empty function case for mmc_probe().
Signed-off-by Faiz Abbas <[email protected]>
--- drivers/mmc/mmc.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
drivers/mmc/mmc.c +1 -6
@@ -2657,12 +2657,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;
Signature · 1 line
2.7.4
PATCH 1/1 mmc: Drop unnecessary case for mmc_probe()
Hi,
Quoted 16 lines · Faiz Abbas
Drop the unnecessary empty function case for
mmc_probe().Signed-off-by Faiz Abbas <[email protected]>--- drivers/mmc/mmc.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)drivers/mmc/mmc.c +0
-0@@ -2657,12 +2657,7 @@ void mmc_set_preinit(struct mmc *mmc, int preinit) mmc->preinit = preinit; }
drivers/mmc/mmc.c void mmc_set_preinit(struct mmc *mmc, int preinit) · line 2663
Quoted 10 lines
drivers/mmc/mmc.c +1
-6-#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;
Gentle ping.
Thanks,
Faiz
PATCH 1/1 mmc: Drop unnecessary case for mmc_probe()
Quoted 6 lines · Faiz Abbas
Hi,
Quoted 3 lines · Faiz Abbas
Drop the unnecessary empty function case for
mmc_probe().Signed-off-by Faiz Abbas <[email protected]>
Applied to u-boot-mmc.
Best Regards,
Jaehoon Chung
Quoted 31 lines
Quoted 13 lines
--- drivers/mmc/mmc.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)drivers/mmc/mmc.c +0
-0@@ -2657,12 +2657,7 @@ void mmc_set_preinit(struct mmc *mmc, int preinit) mmc->preinit = preinit; }drivers/mmc/mmc.c void mmc_set_preinit(struct mmc *mmc, int preinit) · line 2663
Quoted 10 lines
drivers/mmc/mmc.c +1
-6-#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;Gentle ping.
Thanks,
Faiz