linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN
@ 2020-09-04 12:56 Wang Hai
  2020-09-08 10:56 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Hai @ 2020-09-04 12:56 UTC (permalink / raw)
  To: pablo, kadlec, fw, roopa, nikolay, davem, kuba
  Cc: netfilter-devel, coreteam, bridge, netdev, linux-kernel

BPDU_TYPE_TCN is never used after it was introduced.
So better to remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
---
 net/bridge/netfilter/ebt_stp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/bridge/netfilter/ebt_stp.c b/net/bridge/netfilter/ebt_stp.c
index 0d6d20c9105e..8f68afda5f81 100644
--- a/net/bridge/netfilter/ebt_stp.c
+++ b/net/bridge/netfilter/ebt_stp.c
@@ -15,7 +15,6 @@
 #include <linux/netfilter_bridge/ebt_stp.h>
 
 #define BPDU_TYPE_CONFIG 0
-#define BPDU_TYPE_TCN 0x80
 
 struct stp_header {
 	u8 dsap;
-- 
2.17.1


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

* Re: [PATCH net-next] netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN
  2020-09-04 12:56 [PATCH net-next] netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN Wang Hai
@ 2020-09-08 10:56 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2020-09-08 10:56 UTC (permalink / raw)
  To: Wang Hai
  Cc: kadlec, fw, roopa, nikolay, davem, kuba, netfilter-devel,
	coreteam, bridge, netdev, linux-kernel

On Fri, Sep 04, 2020 at 08:56:53PM +0800, Wang Hai wrote:
> BPDU_TYPE_TCN is never used after it was introduced.
> So better to remove it.

Applied, thanks.

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

end of thread, other threads:[~2020-09-08 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-04 12:56 [PATCH net-next] netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN Wang Hai
2020-09-08 10:56 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).