Message ID | 20211222155816.256405-5-miquel.raynal@bootlin.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | IEEE 802.15.4 passive scan support | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
diff --git a/src/iwpan.h b/src/iwpan.h index 9d265c6..406940a 100644 --- a/src/iwpan.h +++ b/src/iwpan.h @@ -90,12 +90,6 @@ struct cmd { .handler = (_handler), \ .help = (_help), \ } -#define SECTION(_name) \ - struct cmd __section ## _ ## _name \ - __attribute__((used)) __attribute__((section("__cmd"))) = { \ - .name = (#_name), \ - .hidden = 1, \ - } #define SECTION(_name) \ struct cmd __section ## _ ## _name \