Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2022 00:03:26 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: afda85535068 - main - ocs: Remove unused variable.
Message-ID:  <202204080003.23803Q4V086365@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204080003.23803Q4V086365>