projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
144b0a0
)
netfilter: ebt_stp: Remove unused macro BPDU_TYPE_TCN
author
Wang Hai
<wanghai38@huawei.com>
Fri, 4 Sep 2020 12:56:53 +0000
(20:56 +0800)
committer
Pablo 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
patch
|
blob
|
history
diff --git
a/net/bridge/netfilter/ebt_stp.c
b/net/bridge/netfilter/ebt_stp.c
index
0d6d20c
..
8f68afd
100644
(file)
--- 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;