diff mbox series

mmc: remove unneeded forward declarations

Message ID 20200123065401.9338-1-yamada.masahiro@socionext.com
State Accepted
Commit 76ca2d13035c8e649866546abc122cf46ed4e598
Delegated to: Peng Fan
Headers show
Series mmc: remove unneeded forward declarations | expand

Commit Message

Masahiro Yamada Jan. 23, 2020, 6:54 a.m. UTC
These functions are defined before the callers.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/mmc/mmc.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Peng Fan Jan. 27, 2020, 12:50 p.m. UTC | #1
> Subject: [PATCH] mmc: remove unneeded forward declarations
> 
> These functions are defined before the callers.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> ---
> 
>  drivers/mmc/mmc.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index
> b26e266c1c29..dd8e29460cef 100644
> --- a/drivers/mmc/mmc.c
> +++ b/drivers/mmc/mmc.c
> @@ -24,10 +24,6 @@
>  #define DEFAULT_CMD6_TIMEOUT_MS  500
> 
>  static int mmc_set_signal_voltage(struct mmc *mmc, uint signal_voltage);
> -static int mmc_power_cycle(struct mmc *mmc);
> -#if !CONFIG_IS_ENABLED(MMC_TINY) -static int
> mmc_select_mode_and_width(struct mmc *mmc, uint card_caps); -#endif
> 
>  #if !CONFIG_IS_ENABLED(DM_MMC)
> 
> --
> 2.17.1
diff mbox series

Patch

diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index b26e266c1c29..dd8e29460cef 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -24,10 +24,6 @@ 
 #define DEFAULT_CMD6_TIMEOUT_MS  500
 
 static int mmc_set_signal_voltage(struct mmc *mmc, uint signal_voltage);
-static int mmc_power_cycle(struct mmc *mmc);
-#if !CONFIG_IS_ENABLED(MMC_TINY)
-static int mmc_select_mode_and_width(struct mmc *mmc, uint card_caps);
-#endif
 
 #if !CONFIG_IS_ENABLED(DM_MMC)