All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Alexander Aring <alex.aring@gmail.com>,
	Stefan Schmidt <stefan@datenfreihafen.org>,
	linux-wpan@vger.kernel.org
Cc: David Girault <david.girault@qorvo.com>,
	Romuald Despres <romuald.despres@qorvo.com>,
	Frederic Blain <frederic.blain@qorvo.com>,
	Nicolas Schodet <nico@ni.fr.eu.org>,
	Guilhem Imberton <guilhem.imberton@qorvo.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Miquel Raynal <miquel.raynal@bootlin.com>
Subject: [PATCH wpan-tools v2 5/8] iwpan: Remove duplicated SECTION
Date: Fri,  6 Jan 2023 12:18:28 +0100	[thread overview]
Message-ID: <20230106111831.692202-6-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20230106111831.692202-1-miquel.raynal@bootlin.com>

From: David Girault <david.girault@qorvo.com>

This section has been duplicated, drop one.

Signed-off-by: David Girault <david.girault@qorvo.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 src/iwpan.h | 6 ------
 1 file changed, 6 deletions(-)

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				\
-- 
2.34.1


  parent reply	other threads:[~2023-01-06 11:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06 11:18 [PATCH wpan-tools v2 0/8] iwpan: Scan support Miquel Raynal
2023-01-06 11:18 ` [PATCH wpan-tools v2 1/8] iwpan: Synchronize nl802154.h with the latest kernel Miquel Raynal
2023-01-06 11:18 ` [PATCH wpan-tools v2 2/8] iwpan: Fix the channels printing Miquel Raynal
2023-01-06 11:18 ` [PATCH wpan-tools v2 3/8] iwpan: Export iwpan_debug Miquel Raynal
2023-01-06 11:18 ` [PATCH wpan-tools v2 4/8] iwpan: Fix a comment Miquel Raynal
2023-01-06 11:18 ` Miquel Raynal [this message]
2023-01-06 11:18 ` [PATCH wpan-tools v2 6/8] iwpan: Synchronize nl802154.h with the latest scan changes Miquel Raynal
2023-01-06 11:18 ` [PATCH wpan-tools v2 7/8] iwpan: Add scan support Miquel Raynal
2023-01-06 11:18 ` [PATCH wpan-tools v2 8/8] iwpan: Add events support Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230106111831.692202-6-miquel.raynal@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=alex.aring@gmail.com \
    --cc=david.girault@qorvo.com \
    --cc=frederic.blain@qorvo.com \
    --cc=guilhem.imberton@qorvo.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=nico@ni.fr.eu.org \
    --cc=romuald.despres@qorvo.com \
    --cc=stefan@datenfreihafen.org \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.