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_stp_timer.c | |
parent | 37a6351a64a95f0671d2b3e24b6b085a5885a927 (diff) | |
download | linux-7c25b16dbbcf37ce8019bacf634ee47d852225d9.tar.gz linux-7c25b16dbbcf37ce8019bacf634ee47d852225d9.tar.bz2 linux-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_stp_timer.c')
-rw-r--r-- | net/bridge/br_stp_timer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_stp_timer.c b/net/bridge/br_stp_timer.c index 5f0f5af0ec35..da058b85aa22 100644 --- a/net/bridge/br_stp_timer.c +++ b/net/bridge/br_stp_timer.c @@ -98,7 +98,6 @@ static void br_forward_delay_timer_expired(unsigned long arg) br_topology_change_detection(br); netif_carrier_on(br->dev); } - br_log_state(p); rcu_read_lock(); br_ifinfo_notify(RTM_NEWLINK, p); rcu_read_unlock(); |