]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Make unlinking functions return void
authorIdo Schimmel <idosch@mellanox.com>
Mon, 20 Jun 2016 21:04:04 +0000 (23:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 09:02:49 +0000 (05:02 -0400)
commit622305a07b8089cabce371b0d92539cbf89f02e9
treea89dde8b3c857da8619755bdb2d131ad948725a0
parenta065ab85ffdf3ef5c739d895fe49a686fe1325ec
mlxsw: spectrum: Make unlinking functions return void

When responding to unlinking CHANGEUPPER notifications we shouldn't
return any value, as it's not checked by upper layers.

In addition, there's nothing the driver can do in case of failure, so it
should simply continue and try to free as much resources as possible and
not stop on first error.

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