git: b7c11b67cbc5 - stable/13 - ocs: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 May 2023 00:29:53 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=b7c11b67cbc53972dcb1ad492af2de738242ff37
commit b7c11b67cbc53972dcb1ad492af2de738242ff37
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-08 00:01:27 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-03 00:18:53 +0000
ocs: Remove unused variable.
(cherry picked from commit afda855350685d994f3fa5702079ce782563ee8f)
---
sys/dev/ocs_fc/ocs_xport.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/dev/ocs_fc/ocs_xport.c b/sys/dev/ocs_fc/ocs_xport.c
index 6170413a3d89..810c508d3010 100644
--- a/sys/dev/ocs_fc/ocs_xport.c
+++ b/sys/dev/ocs_fc/ocs_xport.c
@@ -197,7 +197,6 @@ ocs_xport_attach(ocs_xport_t *xport)
/* booleans used for cleanup if initialization fails */
uint8_t io_pool_created = FALSE;
uint8_t node_pool_created = FALSE;
- uint8_t rq_threads_created = FALSE;
ocs_list_init(&ocs->domain_list, ocs_domain_t, link);
@@ -279,7 +278,6 @@ ocs_xport_attach(ocs_xport_t *xport)
ocs_log_err(ocs, "failure creating RQ threads\n");
goto ocs_xport_attach_cleanup;
}
- rq_threads_created = TRUE;
return 0;