]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Remove redundant errors from the code
authorIdo Schimmel <idosch@mellanox.com>
Wed, 17 Aug 2016 14:39:29 +0000 (16:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Aug 2016 23:18:27 +0000 (19:18 -0400)
commit8b168060d3ce04fe0ef4133fce2cbf5457dab08d
tree2a3950c5bc3c62efe04ba3f8b662edbeacc4b980
parentbae81af63af8183a825b1b4d336054957dcea699
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: 68d04ad93ede ("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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c