[Uboot-stm32] [PATCH 8/8] env: mmc: cosmetic: remove unused macro STR(X)

Patrice CHOTARD patrice.chotard at foss.st.com
Tue Dec 6 09:16:56 CET 2022



On 11/10/22 11:49, Patrick Delaunay wrote:
> Remove the unused macro STR(X) since the commit 2b2f727500dc ("env: mmc:
> allow support of mmc_get_env_dev with OF_CONTROL")
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
> 
>  env/mmc.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/env/mmc.c b/env/mmc.c
> index 8941e0f5ff39..85761417f283 100644
> --- a/env/mmc.c
> +++ b/env/mmc.c
> @@ -21,9 +21,6 @@
>  #include <errno.h>
>  #include <dm/ofnode.h>
>  
> -#define __STR(X) #X
> -#define STR(X) __STR(X)
> -
>  #define ENV_MMC_INVALID_OFFSET ((s64)-1)
>  
>  #if defined(CONFIG_ENV_MMC_USE_DT)

Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice


More information about the U-Boot mailing list