[PATCH 3/3] magicvar: retire BAREBOX_MAGICVAR_NAMED

Sascha Hauer s.hauer at pengutronix.de
Thu Oct 1 04:07:08 EDT 2020


BAREBOX_MAGICVAR_NAMED is no longer used, drop it.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 include/magicvar.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/magicvar.h b/include/magicvar.h
index bad9b0dee5..4ef3d81682 100644
--- a/include/magicvar.h
+++ b/include/magicvar.h
@@ -26,13 +26,9 @@ static const struct magicvar _name							\
 	.description = MAGICVAR_DESCRIPTION(_description),	\
 };
 
-#define BAREBOX_MAGICVAR_NAMED(_name, _varname, _description)			\
-	__BAREBOX_MAGICVAR_NAMED(__barebox_magicvar_##_name, _varname, _description)
-
 #define BAREBOX_MAGICVAR(_name, _description)			\
 	__BAREBOX_MAGICVAR_NAMED(__UNIQUE_ID(magicvar), _name, _description)
 #else
-#define BAREBOX_MAGICVAR_NAMED(_name, _varname, _description)
 #define BAREBOX_MAGICVAR(_name, _description)
 #endif
 
-- 
2.28.0




More information about the barebox mailing list