git: afda85535068 - main - ocs: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Apr 2022 00:03:26 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=afda855350685d994f3fa5702079ce782563ee8f commit afda855350685d994f3fa5702079ce782563ee8f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-08 00:01:27 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-08 00:01:27 +0000 ocs: Remove unused variable. --- 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;