summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
diff options
context:
space:
mode:
authorIdo Schimmel2016-08-17 16:39:29 +0200
committerDavid S. Miller2016-08-18 01:18:27 +0200
commitfa66d7e3fea7504e241e9004998af2c71814da18 (patch)
tree2a3950c5bc3c62efe04ba3f8b662edbeacc4b980 /drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
parentmlxsw: spectrum: Don't return upon error in removal path (diff)
downloadkernel-qcow2-linux-fa66d7e3fea7504e241e9004998af2c71814da18.tar.gz
kernel-qcow2-linux-fa66d7e3fea7504e241e9004998af2c71814da18.tar.xz
kernel-qcow2-linux-fa66d7e3fea7504e241e9004998af2c71814da18.zip
mlxsw: spectrum: Remove redundant errors from the code
Currently, when device configuration fails we emit errors to the kernel log despite the fact we already get these from the EMAD transaction layer, so remove them. In addition to being unnecessary, removing these error messages will allow us to reuse mlxsw_sp_port_add_vid() to create the PVID vPort before registering the netdevice. Fixes: 99724c18fc66 ("mlxsw: spectrum: Introduce support for router interfaces") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c')
0 files changed, 0 insertions, 0 deletions