summaryrefslogtreecommitdiff
path: root/net/bridge/br_private_stp.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-07-22 11:47:10 +0400
committerDavid S. Miller <davem@davemloft.net>2011-07-23 04:01:13 +0400
commit160d73b8455edb1a12967e207790b1a93a4cb0e1 (patch)
treeadba1755432a81fd4d258ecdeb2207d94e36be03 /net/bridge/br_private_stp.h
parent4ecb961c8b474ebef5aff55f715c7875e69dd57b (diff)
downloadlinux-160d73b8455edb1a12967e207790b1a93a4cb0e1.tar.xz
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_private_stp.h')
-rw-r--r--net/bridge/br_private_stp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bridge/br_private_stp.h b/net/bridge/br_private_stp.h
index 642ef47a867e..05ed9bc7e426 100644
--- a/net/bridge/br_private_stp.h
+++ b/net/bridge/br_private_stp.h
@@ -56,7 +56,8 @@ extern void br_become_root_bridge(struct net_bridge *br);
extern void br_config_bpdu_generation(struct net_bridge *);
extern void br_configuration_update(struct net_bridge *);
extern void br_port_state_selection(struct net_bridge *);
-extern void br_received_config_bpdu(struct net_bridge_port *p, struct br_config_bpdu *bpdu);
+extern void br_received_config_bpdu(struct net_bridge_port *p,
+ const struct br_config_bpdu *bpdu);
extern void br_received_tcn_bpdu(struct net_bridge_port *p);
extern void br_transmit_config(struct net_bridge_port *p);
extern void br_transmit_tcn(struct net_bridge *br);