[PATCH] mmc: remove unneeded forward declarations

Peng Fan peng.fan at nxp.com
Mon Jan 27 13:50:25 CET 2020


> Subject: [PATCH] mmc: remove unneeded forward declarations
> 
> These functions are defined before the callers.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Reviewed-by: Peng Fan <peng.fan at 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



More information about the U-Boot mailing list