mlxsw: switchx2: changing order of exit fallbacks

Fixes: 31557f0f97 ("mlxsw: Introduce Mellanox SwitchX-2 ASIC support")
Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Elad Raz 2015-10-08 15:17:37 +02:00 committed by David S. Miller
parent 6ac644a8ae
commit 4b0c2541cb

View File

@ -1069,9 +1069,9 @@ static int mlxsw_sx_port_create(struct mlxsw_sx *mlxsw_sx, u8 local_port)
return 0; return 0;
err_register_netdev: err_register_netdev:
err_port_admin_status_set:
err_port_mac_learning_mode_set: err_port_mac_learning_mode_set:
err_port_stp_state_set: err_port_stp_state_set:
err_port_admin_status_set:
err_port_mtu_set: err_port_mtu_set:
err_port_speed_set: err_port_speed_set:
err_port_swid_set: err_port_swid_set: