summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/switchx2.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2016-10-28 21:35:49 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-30 16:50:17 -0400
commitf83e21027b4d8871d896f6e180171c289b60718c (patch)
tree6b547a7671e2d9512f42e390ddb71ca9207fafd6 /drivers/net/ethernet/mellanox/mlxsw/switchx2.c
parentadc4e04a4bbd7696c9aa99eec951ddaf26ac27e1 (diff)
downloadlinux-f83e21027b4d8871d896f6e180171c289b60718c.tar.bz2
mlxsw: spectrum: Move port used check outside port remove function
Be symmentrical with create and do the check outside the remove function. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Elad Raz <eladr@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/switchx2.c')
0 files changed, 0 insertions, 0 deletions