git: 8404f3e36bc5 - stable/13 - isp: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Jan 2024 16:53:27 UTC
The branch stable/13 has been updated by mav:
URL: https://cgit.FreeBSD.org/src/commit/?id=8404f3e36bc534b19c3e58af9f5e797f8a78a957
commit 8404f3e36bc534b19c3e58af9f5e797f8a78a957
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-12 21:58:59 +0000
Commit: Alexander Motin <mav@FreeBSD.org>
CommitDate: 2024-01-19 16:51:45 +0000
isp: Remove unused variable.
(cherry picked from commit e4d4beba435815841616d8c4e1e94d3ff00fc36b)
---
sys/dev/isp/isp_library.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/dev/isp/isp_library.c b/sys/dev/isp/isp_library.c
index ce977cab36e7..29f2fff38ddb 100644
--- a/sys/dev/isp/isp_library.c
+++ b/sys/dev/isp/isp_library.c
@@ -1631,7 +1631,6 @@ isp_add_wwn_entry(ispsoftc_t *isp, int chan, uint64_t wwpn, uint64_t wwnn,
void
isp_del_wwn_entry(ispsoftc_t *isp, int chan, uint64_t wwpn, uint16_t nphdl, uint32_t s_id)
{
- fcparam *fcp;
fcportdb_t *lp;
if (nphdl >= MAX_NPORT_HANDLE) {
@@ -1640,7 +1639,6 @@ isp_del_wwn_entry(ispsoftc_t *isp, int chan, uint64_t wwpn, uint16_t nphdl, uint
return;
}
- fcp = FCPARAM(isp, chan);
if (isp_find_pdb_by_handle(isp, chan, nphdl, &lp) == 0) {
isp_prt(isp, ISP_LOGWARN, "Chan %d WWPN 0x%016llx PortID 0x%06x handle 0x%x cannot be found to be deleted",
chan, (unsigned long long) wwpn, s_id, nphdl);