summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_netlink.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-02-16 16:09:51 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-18 20:20:08 +0100
commit7c25b16dbbcf37ce8019bacf634ee47d852225d9 (patch)
treeb84032688a12ced8f54925ec8b370eed6c857fdd /net/bridge/br_netlink.c
parentMerge branch 'cxgb4-addr-sync' (diff)
downloadlinux-7c25b16dbbcf37ce8019bacf634ee47d852225d9.tar.xz
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_netlink.c')
-rw-r--r--net/bridge/br_netlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c
index 40197ff8918a..e9c635eae24d 100644
--- a/net/bridge/br_netlink.c
+++ b/net/bridge/br_netlink.c
@@ -598,7 +598,6 @@ static int br_set_port_state(struct net_bridge_port *p, u8 state)
return -ENETDOWN;
br_set_state(p, state);
- br_log_state(p);
br_port_state_selection(p->br);
return 0;
}