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

Patrick Delaunay patrick.delaunay at foss.st.com
Thu Nov 10 11:49:05 CET 2022


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)
-- 
2.25.1



More information about the U-Boot mailing list