Skip to contentSkip to conversation

netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN

PATCH Applied Wang Hai 2 participants 2 messages Sep 4, 2020 – Sep 8, 2020

Subsystems (4)
lore
Share & tools
lore

Wang Hai

author
#0 lore raw

PATCH 1/1 netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN

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

---
 net/bridge/netfilter/ebt_stp.c | 1 -
 1 file changed, 1 deletion(-)
net/bridge/netfilter/ebt_stp.c +0 -1
index 0d6d20c9105e..8f68afda5f81 100644
@@ -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;
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Wang Hai

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

Applied, thanks.