aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_stp_bpdu.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-07-22 03:47:10 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-22 20:01:13 -0400
commit160d73b8455edb1a12967e207790b1a93a4cb0e1 (patch)
treeadba1755432a81fd4d258ecdeb2207d94e36be03 /net/bridge/br_stp_bpdu.c
parent4ecb961c8b474ebef5aff55f715c7875e69dd57b (diff)
bridge: minor cleanups
Some minor cleanups that won't impact code: 1. Remove inline from non-critical functions; compiler will most likely inline them anyway. 2. Make function args const where possible. 3. Whitespace cleanup Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_stp_bpdu.c')
-rw-r--r--net/bridge/br_stp_bpdu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/bridge/br_stp_bpdu.c b/net/bridge/br_stp_bpdu.c
index b69232b3718..e16aade51ae 100644
--- a/net/bridge/br_stp_bpdu.c
+++ b/net/bridge/br_stp_bpdu.c
@@ -222,9 +222,7 @@ void br_stp_rcv(const struct stp_proto *proto, struct sk_buff *skb,
222 } 222 }
223 223
224 br_received_config_bpdu(p, &bpdu); 224 br_received_config_bpdu(p, &bpdu);
225 } 225 } else if (buf[0] == BPDU_TYPE_TCN) {
226
227 else if (buf[0] == BPDU_TYPE_TCN) {
228 br_received_tcn_bpdu(p); 226 br_received_tcn_bpdu(p);
229 } 227 }
230 out: 228 out: