From 701a51e1ef6c727e7a4b5a48b8681f42a447072b Mon Sep 17 00:00:00 2001 From: Andy Yan Date: Fri, 31 May 2019 15:44:39 +0800 Subject: [PATCH] dm: mmc: remove unused U_BOOT_DRIVER(mmc) When look through the code, I found this bare metal drives is not used, so remove it. Signed-off-by: Andy Yan Reviewed-by: Simon Glass --- 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 2b146ea43c..4a12324c6a 100644 --- a/drivers/mmc/mmc-uclass.c +++ b/drivers/mmc/mmc-uclass.c @@ -427,10 +427,6 @@ U_BOOT_DRIVER(mmc_blk) = { }; #endif /* CONFIG_BLK */ -U_BOOT_DRIVER(mmc) = { - .name = "mmc", - .id = UCLASS_MMC, -}; UCLASS_DRIVER(mmc) = { .id = UCLASS_MMC,