diff mbox series

[net-next] netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN

Message ID 20200904125653.15170-1-wanghai38@huawei.com
State New
Headers show
Series [net-next] netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN | expand

Commit Message

Wang Hai Sept. 4, 2020, 12:56 p.m. UTC
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(-)

Comments

Pablo Neira Ayuso Sept. 8, 2020, 10:56 a.m. UTC | #1
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.
diff mbox series

Patch

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;