From: Andy Yan Date: Fri, 31 May 2019 07:44:39 +0000 (+0800) Subject: dm: mmc: remove unused U_BOOT_DRIVER(mmc) X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=701a51e1ef6c727e7a4b5a48b8681f42a447072b;p=u-boot.git 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 --- 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,