git: 48473a98a993 - stable/14 - cxgbe/t4_tom: Remove duplicate unlock in t4_tom_deactivate.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 18:39:34 UTC
The branch stable/14 has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=48473a98a99355eec1bd029c09cac3dcfeead7d0
commit 48473a98a99355eec1bd029c09cac3dcfeead7d0
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2024-09-29 20:04:30 +0000
Commit: Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2024-10-21 17:14:56 +0000
cxgbe/t4_tom: Remove duplicate unlock in t4_tom_deactivate.
Fixes: c1c524852f62 cxgbe/t4_tom: Implement uld_stop and uld_restart for ULD_TOM.
Sponsored by: Chelsio Communications
(cherry picked from commit cc110bbec6d23d8cff47733704c71de641d0c8e8)
---
sys/dev/cxgbe/tom/t4_tom.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/dev/cxgbe/tom/t4_tom.c b/sys/dev/cxgbe/tom/t4_tom.c
index 356ac7edc134..d5b6b6ee2ce0 100644
--- a/sys/dev/cxgbe/tom/t4_tom.c
+++ b/sys/dev/cxgbe/tom/t4_tom.c
@@ -1966,7 +1966,6 @@ t4_tom_deactivate(struct adapter *sc)
MPASS(TAILQ_EMPTY(&td->synqe_list));
MPASS(TAILQ_EMPTY(&td->stranded_tids));
mtx_unlock(&td->toep_list_lock);
- mtx_unlock(&td->toep_list_lock);
mtx_lock(&td->lctx_hash_lock);
if (td->lctx_count > 0)