Skip to content

Commit

Permalink
netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wang Hai authored and Pablo Neira Ayuso committed Sep 8, 2020
1 parent 144b0a0 commit 36c3be8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/bridge/netfilter/ebt_stp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 36c3be8

Please sign in to comment.