diff options
author | 2024-07-30 15:58:19 +0200 | |
---|---|---|
committer | 2024-07-31 18:38:28 -0700 | |
commit | e7e3a450e5527f3321dc6d0146bf2b86cf44b508 (patch) | |
tree | 952c6a8da8d16d4785e294a0a5b8f8a1e917ec65 /net/core/netdev-genl.c | |
parent | mlxsw: core_thermal: Simplify rollback (diff) | |
download | wireguard-linux-e7e3a450e5527f3321dc6d0146bf2b86cf44b508.tar.xz wireguard-linux-e7e3a450e5527f3321dc6d0146bf2b86cf44b508.zip |
mlxsw: core_thermal: Remove unnecessary checks
mlxsw_thermal_module_fini() cannot be invoked with a thermal module
which is NULL or which is not associated with a thermal zone, so remove
these checks.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://patch.msgid.link/8db5fe0a3a28ba09a15d4102cc03f7e8ca7675be.1722345311.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/netdev-genl.c')
0 files changed, 0 insertions, 0 deletions