From nobody Tue Apr 12 21:59:33 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 33B311AFC56C; Tue, 12 Apr 2022 21:59:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KdKPz41FVz4hrT; Tue, 12 Apr 2022 21:59:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=91NWhXuMouPbRq/82HePgwSBc3MCEsdU79d4qcTUrrg=; b=eNu/g2oeUYwrZBhzffoD5SCpnUaaJwXeVx0cOJLO6H1vljjagVQfRk80tB7I5aVUL/uA3g IBOS0wx1kMdqXwG9vuBz+w97g76vYSwbhGVhhPf9xTBq6yYxCRtsat7+sLJAkk8pV8fcJs 65A/c7A29lvuGngSSandByeGW02JKXZh8y1DSaW7Kl2OHt+wzWoruQUmH9Yj5jhRFHzAX3 xjJxBm1/nsfZENFTTPov3sYJdkXVr1mrXddhCSP9GmdNmbLBPIBwwFho1cKrK3nYlEypMh H0dyoY5u9pIqOFQWufGiELN0UvjFoVm4S8+fBFtQKILxGFvh4UVQF64hrAepNA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5459E1F690; Tue, 12 Apr 2022 21:59:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23CLxXHK035675; Tue, 12 Apr 2022 21:59:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CLxXTx035674; Tue, 12 Apr 2022 21:59:33 GMT (envelope-from git) Date: Tue, 12 Apr 2022 21:59:33 GMT Message-Id: <202204122159.23CLxXTx035674@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: e4d4beba4358 - main - isp: Remove unused variable. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e4d4beba435815841616d8c4e1e94d3ff00fc36b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649800775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=91NWhXuMouPbRq/82HePgwSBc3MCEsdU79d4qcTUrrg=; b=E73NqZa4nSzloIlTmCOwLE/ZAlBjvUe/t7OkdEXw5lubLhPBr+71ZTmpuBWUYbBdWr98H1 sX3jqDRGfyyKXCFibcwQXzaclch91hPJ6YcIrQ9T7zB9j6QYugxXc3pQAzVR2/NtCMiXhC jCx/pGcaGoS6DRrqR4+UVmRRBWaU19eiQHaARIgT378oR+xrnHKav7n6iJl6THJ4JvzoMg qfijb2+to8q47Z86Qcd9of59z5hINWgh+ZvX6wDyJzhQxyVf3XXXDsORt/5QxtD+MYrzcw nxi2HFhGURYYgEGfwThL2QQs3eDBFsNgcSMxiEINUH9DgeyqT33qwPsuYoQZzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649800775; a=rsa-sha256; cv=none; b=wSzucleY/wnX9QLhwxww0s6GNeBWcRsVVdPwCp1GBnFybwyUcD2eAFVyh5p7jiAe9rnbDi pCPSis06iVGQo22dAYdYxwYNbPrDZAaEKmkCjUqJnQKLTcsLKuswdPTcXX0KaTIfT74VP9 Tv/8Y7y60GTczpT6pC+BJ9RubHKE8wD+wkJR6b279yFaaB6gMWM4bnSPBo8cGE1C3GDMzn OKDj3pwxeiJbdtD0VGWHE+J7vcyxH/oC+tM2u5enFzWkWOfWCVj5ZLBgly0wSKtQ0d+j2J k8CoZd8VcTi2XnvgOX/5iEnLlDh5jk0IvEWJwvIA2Oo0EwgMXyBiSyfYfpwowQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e4d4beba435815841616d8c4e1e94d3ff00fc36b commit e4d4beba435815841616d8c4e1e94d3ff00fc36b Author: John Baldwin AuthorDate: 2022-04-12 21:58:59 +0000 Commit: John Baldwin CommitDate: 2022-04-12 21:58:59 +0000 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 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);