diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-02-16 10:09:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-18 14:20:08 -0500 |
commit | 7c25b16dbbcf37ce8019bacf634ee47d852225d9 (patch) | |
tree | b84032688a12ced8f54925ec8b370eed6c857fdd /net/bridge/br_private.h | |
parent | 37a6351a64a95f0671d2b3e24b6b085a5885a927 (diff) | |
download | linux-stable-7c25b16dbbcf37ce8019bacf634ee47d852225d9.tar.gz linux-stable-7c25b16dbbcf37ce8019bacf634ee47d852225d9.tar.bz2 linux-stable-7c25b16dbbcf37ce8019bacf634ee47d852225d9.zip |
net: bridge: log port STP state on change
Remove the shared br_log_state function and print the info directly in
br_set_state, where the net_bridge_port state is actually changed.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 302ab0a43725..1b5d145dfcbf 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -900,7 +900,6 @@ static inline void br_nf_core_fini(void) {} #endif /* br_stp.c */ -void br_log_state(const struct net_bridge_port *p); void br_set_state(struct net_bridge_port *p, unsigned int state); struct net_bridge_port *br_get_port(struct net_bridge *br, u16 port_no); void br_init_port(struct net_bridge_port *p); |