mlxsw: spectrum_router: Return void from deletion functions
authorIdo Schimmel <idosch@mellanox.com>
Mon, 14 Aug 2017 08:54:03 +0000 (10:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Aug 2017 18:14:03 +0000 (11:14 -0700)
commitcc70267008d5a22bc044fb1670937d52cb024cd3
tree1b30c02556bca874a1286298177be2fb7ddc3eb6
parent4db93fb8aca3e9e56987c0e873166bdf4b6576ce
mlxsw: spectrum_router: Return void from deletion functions

There is no point in returning a value from function whose return value
is never checked.

Even if the return value was checked, there wouldn't be anything to do
about it, as these functions are either called from error or deletion
paths.

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_router.c