aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/netdev-genl.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2024-07-30 15:58:18 +0200
committerJakub Kicinski <kuba@kernel.org>2024-07-31 18:38:28 -0700
commite25f3040a61961c9f1bcb896b983a33b64d978e2 (patch)
tree231e9cd07207a75381789f3f9d3c7b4a0188fdd4 /net/core/netdev-genl.c
parentmlxsw: core_thermal: Make mlxsw_thermal_module_{init, fini} symmetric (diff)
downloadwireguard-linux-e25f3040a61961c9f1bcb896b983a33b64d978e2.tar.xz
wireguard-linux-e25f3040a61961c9f1bcb896b983a33b64d978e2.zip
mlxsw: core_thermal: Simplify rollback
During rollback, instead of calling mlxsw_thermal_module_fini() for all the modules, only call it for modules that were successfully initialized. This is not a bug fix since mlxsw_thermal_module_fini() first checks that the module was initialized. 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/905bebc45f6e246031f0c5c177bba8efe11e05f5.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