From e4d4beba435815841616d8c4e1e94d3ff00fc36b Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 12 Apr 2022 14:58:59 -0700 Subject: [PATCH] isp: Remove unused variable. --- 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 5bf3906200f..5668b4e4792 100644 --- a/sys/dev/isp/isp_library.c +++ b/sys/dev/isp/isp_library.c @@ -1632,7 +1632,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) { @@ -1641,7 +1640,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);