summaryrefslogtreecommitdiff
path: root/net/bridge/netfilter
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-09-04 20:56:53 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2020-09-08 12:56:38 +0200
commit36c3be8a2c8ae61b2c5ba451b48937c3c494965d (patch)
treed3b19ec8ef24678f43aa1142ab103760eb8268b1 /net/bridge/netfilter
parent144b0a0e608690d46e9a77819249bdd8d23bdcb6 (diff)
netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN
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> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/bridge/netfilter')
-rw-r--r--net/bridge/netfilter/ebt_stp.c1
1 files changed, 0 insertions, 1 deletions
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;