]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mlxsw: spectrum_acl_tcam: Make fini symmetric to init
authorIdo Schimmel <idosch@nvidia.com>
Mon, 6 Feb 2023 15:39:20 +0000 (16:39 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Feb 2023 04:18:49 +0000 (20:18 -0800)
commit61fe3b9102ac84ba479ab84d8f5454af2e21e468
tree0d179e33d2d5eb9fbf12f195af47e965b2374aed
parent65823e07b1e4055b6278725fd92f4d7e6f8d53fd
mlxsw: spectrum_acl_tcam: Make fini symmetric to init

Move mutex_destroy() to the end to make the function symmetric with
mlxsw_sp_acl_tcam_init(). No functional changes.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c