netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN
authorWang Hai <wanghai38@huawei.com>
Fri, 4 Sep 2020 12:56:53 +0000 (20:56 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 Sep 2020 10:56:38 +0000 (12:56 +0200)
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>
net/bridge/netfilter/ebt_stp.c

index 0d6d20c..8f68afd 100644 (file)
@@ -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;