[U-Boot] [PATCH] dm: mmc: remove unused U_BOOT_DRIVER(mmc)
Andy Yan
andy.yan at rock-chips.com
Fri May 31 07:44:39 UTC 2019
From: Andy Yan <andyshrk at gmail.com>
When look through the code, I found this bare metal
drives is not used, so remove it.
Signed-off-by: Andy Yan <andy.yan at rock-chips.com>
---
drivers/mmc/mmc-uclass.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c
index a9c8f335c1..7e641ed5a6 100644
--- a/drivers/mmc/mmc-uclass.c
+++ b/drivers/mmc/mmc-uclass.c
@@ -404,10 +404,6 @@ U_BOOT_DRIVER(mmc_blk) = {
};
#endif /* CONFIG_BLK */
-U_BOOT_DRIVER(mmc) = {
- .name = "mmc",
- .id = UCLASS_MMC,
-};
UCLASS_DRIVER(mmc) = {
.id = UCLASS_MMC,
--
2.17.1
More information about the U-Boot
mailing list