diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2022-04-12 21:58:59 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-12 21:58:59 +0000 |
| commit | e4d4beba435815841616d8c4e1e94d3ff00fc36b (patch) | |
| tree | 14030da250de75c8c1f0f1905d6a4697655ae813 | |
| parent | 3ef2d49e7d211c282e8d1d6767b64c3037fcdbaf (diff) | |
| -rw-r--r-- | sys/dev/isp/isp_library.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_library.c b/sys/dev/isp/isp_library.c index 5bf3906200fa..5668b4e47923 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); |
