mlxsw: core_thermal: Remove obsolete API for query resource
authorVadim Pasternak <vadimp@nvidia.com>
Tue, 22 Feb 2022 17:16:57 +0000 (19:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2022 12:38:17 +0000 (12:38 +0000)
commitbfb82c9cceac61b1d9b87171d98e1fc20d7d6e37
tree5c02d0e858a746d145ac53ed2bac7902f4ca8f8c
parent009da9fad567d1abdefdd041c66fb3aa5e8fcf2b
mlxsw: core_thermal: Remove obsolete API for query resource

Remove obsolete API mlxsw_core_res_query_enabled(), which is only
relevant for end-of-life SwitchX-2 ASICs. Support for these ASICs was
removed in commit b0d80c013b04 ("mlxsw: Remove Mellanox SwitchX-2 ASIC
support").

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c