From nobody Fri Jan 19 16:53:27 2024 X-Original-To: dev-commits-src-all@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 4TGm076GWfz56txG; Fri, 19 Jan 2024 16:53:27 +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 4TGm075GPVz4BLB; Fri, 19 Jan 2024 16:53:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705683207; 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=3Fj139/tbIB3MYah+c+YPy1angUImPct7Khk+wTuHAo=; b=kL1fOF0Wuux1MiZAXtyy86ZVBLJf3v90ma0y1xX1xTIgA3pKu+oQWVYhrQzK4O9KK1rZWz ADtxl8e4yJyYLqciM5xhQARr6JbSrp6ZbVW7O6hqrI2aZQ+1Zx+CKlE91tZ9OmSUuRrxIw R0JlKfuH3u3liOYdpRIPowQxYZ8k+M9/QW1sNbJ85fEoRKZ41DNnlW4DpjxjCZJJqbqXOo 6ubB6996HsDgCuwnq1a9JRp2+5SlE8EQOt9G06pKj6xsp6FhR0cKlQ2EwI/H2VOp3hVC8h iXOVUol6mr+ETxcPWXNibes8F9Ano03mFEYsMdGWQ4g+bdjDU5w7Tpq1sXEWbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705683207; 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=3Fj139/tbIB3MYah+c+YPy1angUImPct7Khk+wTuHAo=; b=vNXXxzIWCT1UcDlHcEd9l6+ErKZSlTMGAahdwQwYBvup3NvsW7kVlBS6J+W/+yAu+CEIxT xZDS8nIdIN3kgWAGRQslyf60/EKCL+hosIQXma/M/tHDfay71draxoadx2MU2VVPGBufUu tooTVTuOr5rqldrCdpNLq70rjx/Rios8mScW84eDPpztvIK+OLUGIZYcN88Z3E3A4/SMVu E43GdXF8OJc+WkFRfOoucvgE6EB7k/qexJt4y59Lt5RN+wE8f8BhMXcDn8CzA7NusyGMix Futd6tXph1EaAWg60Nt61izltWJWYiDNY5oGQSMxEQ3w34WwQEQmLeaei0RdFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705683207; a=rsa-sha256; cv=none; b=GJT2G9f7swriLpnbIFRtwVNS1W+vfV5hu1ot/G4AWCPp5+//xc8rXsazS4K5XlkvrJoVSn u6RXqHn+CvofXAyOnZ83PvHllai2QgV7WCwGpZlqFEOIYsTXrQejUttggHBNiRoiW50Pft i77P0FxFUi56dUMeCmDdgqcNnY3QiYuI1SgyoUww4gUW1q2HlAWzgmOKzzfEnsmzYqaYF+ V2RxzIvS2kltkURNcH2YZ9v5B+lrJ/noLbosXqApNm6Ya7T+6i/zJef/NqkKktti/FwZJC GYIEZpWJroBayi9M2PYOi3yO5Of5oCnRFJ3kyk5OzD7pfkwWbs6joS1Nx47PcA== 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 4TGm074KrPz105K; Fri, 19 Jan 2024 16:53:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40JGrR5S059831; Fri, 19 Jan 2024 16:53:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40JGrRqL059828; Fri, 19 Jan 2024 16:53:27 GMT (envelope-from git) Date: Fri, 19 Jan 2024 16:53:27 GMT Message-Id: <202401191653.40JGrRqL059828@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: 8404f3e36bc5 - stable/13 - isp: Remove unused variable. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 8404f3e36bc534b19c3e58af9f5e797f8a78a957 Auto-Submitted: auto-generated The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=8404f3e36bc534b19c3e58af9f5e797f8a78a957 commit 8404f3e36bc534b19c3e58af9f5e797f8a78a957 Author: John Baldwin AuthorDate: 2022-04-12 21:58:59 +0000 Commit: Alexander Motin 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);