Skip to contentSkip to conversation

command.h: drop unused Struct_Section attribute

PATCH Applied Antony Pavlov 2 participants 2 messages Nov 7, 2016 – Nov 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 command.h: drop unused Struct_Section attribute

---
 include/command.h | 2 --
 1 file changed, 2 deletions(-)
include/command.h +0 -2
index 2e72780..43ee454 100644
@@ -89,8 +89,6 @@ int run_command(const char *cmd);
 
 #endif	/* __ASSEMBLY__ */
 
-#define Struct_Section  __attribute__ ((unused,section (".barebox_cmd")))
-
 #define BAREBOX_CMD_START(_name)							\
 extern const struct command __barebox_cmd_##_name;					\
 const struct command __barebox_cmd_##_name						\
Signature · 7 lines
2.9.3


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 4 lines · Antony Pavlov
---
 include/command.h | 2 --
 1 file changed, 2 deletions(-)

Applied, thanks

Sascha

Quoted 18 lines
include/command.h +0 -2
index 2e72780..43ee454 100644
@@ -89,8 +89,6 @@ int run_command(const char *cmd);
 
 #endif	/* __ASSEMBLY__ */
 
-#define Struct_Section  __attribute__ ((unused,section (".barebox_cmd")))
-
 #define BAREBOX_CMD_START(_name)							\
 extern const struct command __barebox_cmd_##_name;					\
 const struct command __barebox_cmd_##_name						\
Signature · 1 line
2.9.3
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox