git: cc110bbec6d2 - main - cxgbe/t4_tom: Remove duplicate unlock in t4_tom_deactivate.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Sep 2024 00:47:26 UTC
The branch main has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=cc110bbec6d23d8cff47733704c71de641d0c8e8
commit cc110bbec6d23d8cff47733704c71de641d0c8e8
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2024-09-29 20:04:30 +0000
Commit: Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2024-09-30 00:38:11 +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.
MFC after: 1 week
Sponsored by: Chelsio Communications
---
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)