mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
[ Upstream commit 65823e07 ] Pair mutex_init() with a mutex_destroy() in the error path. Found during code review. 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> Stable-dep-of: 483ae90d ("mlxsw: spectrum_acl_tcam: Fix stack corruption") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment