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)
commit82e6db034b1fca1370c3930e7c4b61f0d8bb2c4b
treea89dde8b3c857da8619755bdb2d131ad948725a0
parent423b937e7dde1291fc0e87bb7a382aafde9d712a
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