]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: mmc: remove unused U_BOOT_DRIVER(mmc)
authorAndy Yan <andyshrk@gmail.com>
Fri, 31 May 2019 07:44:39 +0000 (15:44 +0800)
committerPeng Fan <peng.fan@nxp.com>
Thu, 5 Sep 2019 07:27:31 +0000 (15:27 +0800)
When look through the code, I found this bare metal
drives is not used, so remove it.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc-uclass.c

index 2b146ea43c59dcab49d75a8ad8ab338db63e9556..4a12324c6afd9c7161ae24c5f8e439ff6579e775 100644 (file)
@@ -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,