[U-Boot] [PATCH] dm: mmc: remove unused U_BOOT_DRIVER(mmc)

From: Andy Yan andyshrk@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@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,

On Fri, 31 May 2019 at 01:44, Andy Yan andy.yan@rock-chips.com wrote:
From: Andy Yan andyshrk@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@rock-chips.com
drivers/mmc/mmc-uclass.c | 4 ---- 1 file changed, 4 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
This looks right to me. I cannot remember why it is there.

Subject: [PATCH] dm: mmc: remove unused U_BOOT_DRIVER(mmc)
From: Andy Yan andyshrk@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@rock-chips.com
Applied to mmc/master.
Thanks, Peng.
participants (3)
-
Andy Yan
-
Peng Fan
-
Simon Glass