]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7b3647d38d462c0362834ca1197dd685b238b2c
tree1b30c02556bca874a1286298177be2fb7ddc3eb6
parentf98012302960a0357f89c3da5aa8a6a405c5d0d0
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