Linux-WPAN Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] net/ieee802154: remove unused macros to tame gcc
@ 2020-11-06  8:10 Alex Shi
  2020-11-06 14:25 ` Stefan Schmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Shi @ 2020-11-06  8:10 UTC (permalink / raw)
  To: alex.aring
  Cc: Stefan Schmidt, David S. Miller, Jakub Kicinski, linux-wpan,
	netdev, linux-kernel

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Alexander Aring <alex.aring@gmail.com> 
Cc: Stefan Schmidt <stefan@datenfreihafen.org> 
Cc: "David S. Miller" <davem@davemloft.net> 
Cc: Jakub Kicinski <kuba@kernel.org> 
Cc: linux-wpan@vger.kernel.org 
Cc: netdev@vger.kernel.org 
Cc: linux-kernel@vger.kernel.org 
---
 net/ieee802154/nl802154.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/net/ieee802154/nl802154.c b/net/ieee802154/nl802154.c
index 7c5a1aa5adb4..1cebdcedc48c 100644
--- a/net/ieee802154/nl802154.c
+++ b/net/ieee802154/nl802154.c
@@ -2098,11 +2098,7 @@ static int nl802154_del_llsec_seclevel(struct sk_buff *skb,
 #define NL802154_FLAG_NEED_NETDEV	0x02
 #define NL802154_FLAG_NEED_RTNL		0x04
 #define NL802154_FLAG_CHECK_NETDEV_UP	0x08
-#define NL802154_FLAG_NEED_NETDEV_UP	(NL802154_FLAG_NEED_NETDEV |\
-					 NL802154_FLAG_CHECK_NETDEV_UP)
 #define NL802154_FLAG_NEED_WPAN_DEV	0x10
-#define NL802154_FLAG_NEED_WPAN_DEV_UP	(NL802154_FLAG_NEED_WPAN_DEV |\
-					 NL802154_FLAG_CHECK_NETDEV_UP)
 
 static int nl802154_pre_doit(const struct genl_ops *ops, struct sk_buff *skb,
 			     struct genl_info *info)
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net/ieee802154: remove unused macros to tame gcc
  2020-11-06  8:10 [PATCH] net/ieee802154: remove unused macros to tame gcc Alex Shi
@ 2020-11-06 14:25 ` Stefan Schmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Schmidt @ 2020-11-06 14:25 UTC (permalink / raw)
  To: Alex Shi, alex.aring
  Cc: David S. Miller, Jakub Kicinski, linux-wpan, netdev, linux-kernel

Hello.

On 06.11.20 09:10, Alex Shi wrote:
> Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
> Cc: Alexander Aring <alex.aring@gmail.com>
> Cc: Stefan Schmidt <stefan@datenfreihafen.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: linux-wpan@vger.kernel.org
> Cc: netdev@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
>   net/ieee802154/nl802154.c | 4 ----
>   1 file changed, 4 deletions(-)
> 
> diff --git a/net/ieee802154/nl802154.c b/net/ieee802154/nl802154.c
> index 7c5a1aa5adb4..1cebdcedc48c 100644
> --- a/net/ieee802154/nl802154.c
> +++ b/net/ieee802154/nl802154.c
> @@ -2098,11 +2098,7 @@ static int nl802154_del_llsec_seclevel(struct sk_buff *skb,
>   #define NL802154_FLAG_NEED_NETDEV	0x02
>   #define NL802154_FLAG_NEED_RTNL		0x04
>   #define NL802154_FLAG_CHECK_NETDEV_UP	0x08
> -#define NL802154_FLAG_NEED_NETDEV_UP	(NL802154_FLAG_NEED_NETDEV |\
> -					 NL802154_FLAG_CHECK_NETDEV_UP)
>   #define NL802154_FLAG_NEED_WPAN_DEV	0x10
> -#define NL802154_FLAG_NEED_WPAN_DEV_UP	(NL802154_FLAG_NEED_WPAN_DEV |\
> -					 NL802154_FLAG_CHECK_NETDEV_UP)
>   
>   static int nl802154_pre_doit(const struct genl_ops *ops, struct sk_buff *skb,
>   			     struct genl_info *info)
> 


This patch has been applied to the wpan tree and will be
part of the next pull request to net. Thanks!

regards
Stefan Schmidt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06  8:10 [PATCH] net/ieee802154: remove unused macros to tame gcc Alex Shi
2020-11-06 14:25 ` Stefan Schmidt

Linux-WPAN Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-wpan/0 linux-wpan/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-wpan linux-wpan/ https://lore.kernel.org/linux-wpan \
		linux-wpan@vger.kernel.org
	public-inbox-index linux-wpan

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-wpan


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git