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>
This commit is contained in:

committed by
David S. Miller

parent
37a6351a64
commit
7c25b16dbb
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user