From nobody Sat Dec 04 18:07:08 2021 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 71F0E18C6F02; Sat, 4 Dec 2021 18:07:09 +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 4J5yMK1K3Wz4v7Y; Sat, 4 Dec 2021 18:07:09 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 0D4DCDD7; Sat, 4 Dec 2021 18:07:09 +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 1B4I78j9059061; Sat, 4 Dec 2021 18:07:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B4I78TS059060; Sat, 4 Dec 2021 18:07:08 GMT (envelope-from git) Date: Sat, 4 Dec 2021 18:07:08 GMT Message-Id: <202112041807.1B4I78TS059060@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Scott Long Subject: git: dcf47452712d - main - Fix "set but not used" for hptiop 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: scottl X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dcf47452712d1aeaad5cc75638ee1e760eecb54c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638641229; 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=VtXmIycIC+4IzSlMxhYmGi7JT4L8ripEqoHHiPSSg8s=; b=GOe001eEopxb3TLcoiNWAm7YIXQF+A7AGroGdRvdylxdnDEDcYdSwXu8h3mnDxJ0yYOeW6 vfrKbux3cifaVi1lL2Ucx9J7hV/M9OXsT3ZfG7FGKFeWu1P7dyBbHhinOHDNgJyD2QadXU +c0axkvmCTtW+hmaxXU+MqaPKwFzrFrAW1izb3x8Sx2X4nARdysXBntkiGNHKICyn2FPcP Hmb3UKyP2FigQ37QOmLK53/udJOcXQ2HP808c1EnEGZnK8o5V/7GhN9UTL+D56qUlqlcv7 OCoRuJ2dkrDaB1+WngW6VaFHq2tfBEaMBBLTfi1W4Zbu3EtyFZuU98jyPYR9VA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638641229; a=rsa-sha256; cv=none; b=AUOPjoxJqc44W0PAEb1N+FBaXQnjVcx0yJsct6BIzLKRsBzxmYEkJkX8OKoBk/fAv38Xzu bhpHsrza0nh6xtT/+HFc1ogghdnNL1y1mBBRXUJCt08ViACbyCXsYJLuO+7Mr8YkEzu0Ud xfwCFlT8cw6askVWv2pXuH6zpltLLiT3WvOnQMmzjPSnMAnF+6rQ40pFFQ78YCpYijuu9s ou5+S0DIe3DLiF2aSDHnIIqcvMNZOaXulJTRsxYdlCJx6+bUNn9go812J+WtiS12Ejue5h a4+ym/bwYeSN+K0NCmnq/4VVPHVjV8bGPNb+qWR28zVngEWm8VWCfwBuaX+4AA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by scottl: URL: https://cgit.FreeBSD.org/src/commit/?id=dcf47452712d1aeaad5cc75638ee1e760eecb54c commit dcf47452712d1aeaad5cc75638ee1e760eecb54c Author: Scott Long AuthorDate: 2021-12-04 18:05:45 +0000 Commit: Scott Long CommitDate: 2021-12-04 18:07:04 +0000 Fix "set but not used" for hptiop Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/hptiop/hptiop.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/hptiop/hptiop.c b/sys/dev/hptiop/hptiop.c index c5ac59f31df5..300d10ff57e1 100644 --- a/sys/dev/hptiop/hptiop.c +++ b/sys/dev/hptiop/hptiop.c @@ -473,10 +473,6 @@ static void hptiop_drain_outbound_queue_itl(struct hpt_iop_hba *hba) if (req & IOPMU_QUEUE_MASK_HOST_BITS) hptiop_request_callback_itl(hba, req); else { - struct hpt_iop_request_header *p; - - p = (struct hpt_iop_request_header *) - ((char *)hba->u.itl.mu + req); temp = bus_space_read_4(hba->bar0t, hba->bar0h,req + offsetof(struct hpt_iop_request_header,