From nobody Fri Dec 10 05:09:54 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 CAE7518E2C09; Fri, 10 Dec 2021 05:09:54 +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 4J9Jqk3y6Mz3jlv; Fri, 10 Dec 2021 05:09:54 +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 68BDD1457B; Fri, 10 Dec 2021 05:09:54 +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 1BA59sjP063971; Fri, 10 Dec 2021 05:09:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BA59s5R063970; Fri, 10 Dec 2021 05:09:54 GMT (envelope-from git) Date: Fri, 10 Dec 2021 05:09:54 GMT Message-Id: <202112100509.1BA59s5R063970@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: fa5af3219fab - main - xdma: Fix another -Wunused-but-set-variable warning previously missed 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: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fa5af3219fab0b1640dba02b8201a536171a4ba4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639112994; 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=NKG6rbmn/Jg4HMIDeG34Ic9F3FBGyEHHkfOryk881p0=; b=p+9knik8R2NiFEubf8EgFo3vb1joV02f2gjnHjyA0lY2GMI20RC191LjO+XXIfQWEx2ET9 IpUkxLvRGY8/llk39f1hxcjzctESJN9C0BPT/3CdK2day3VAA+guAyH8trQSOvVY9dGog4 4BkpslopzEVrIiIlRiKFMQAuOJaIPPLaOY/FJvihXqBFa1p0lul7ki40aEojhOAGN2/ADu 2z//lSXVVe+3TqtXDgHZ5jvsxakjKG/68qCM+932psdTyBHHMQo7A/Do9ADlttQE83tgSH bYA6U+JHYrH5pVxIOiCM7KF2k1wC3ALJ6rLQk34KTQYQcilmkhAxtuR775teAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639112994; a=rsa-sha256; cv=none; b=K/XzLlXQRD0yoVXdlwDKNRsQLxBzLBBbRxnW+7X+oQyTVgJtSFhG7BM6GIKqDstlYnWp8R cROkPDhKYBjUxxS0ow7qWYqvPSu6feWOTtnQMFAJjeKX/4FzBb4aODwsWlNp3oo6vjjBgu y/sBBzmsaoNC6jAvbWsdipIs5pdHkBkqhzgIqTdRFlBZN5TXO6XtlHpFC9WYd/zo9RVbmq VNJlP9l8s1y6YrYleZOjoUsf+ljr3ersHTMUqYxv4/fqK/hEmX2GRF86zts0UroNo1jpQx w/XF5+3dNsNmAJFHYOFYOvPbALckJxySQzCeNz0pQwwVlekq6kWVTOPQKe9WuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=fa5af3219fab0b1640dba02b8201a536171a4ba4 commit fa5af3219fab0b1640dba02b8201a536171a4ba4 Author: Jessica Clarke AuthorDate: 2021-12-10 05:06:54 +0000 Commit: Jessica Clarke CommitDate: 2021-12-10 05:06:54 +0000 xdma: Fix another -Wunused-but-set-variable warning previously missed MFC after: 1 week --- sys/dev/xdma/xdma_bio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/xdma/xdma_bio.c b/sys/dev/xdma/xdma_bio.c index c994bd5f7629..93645698933c 100644 --- a/sys/dev/xdma/xdma_bio.c +++ b/sys/dev/xdma/xdma_bio.c @@ -77,9 +77,6 @@ xdma_enqueue_bio(xdma_channel_t *xchan, struct bio **bp, enum xdma_direction dir) { struct xdma_request *xr; - xdma_controller_t *xdma; - - xdma = xchan->xdma; xr = xchan_bank_get(xchan); if (xr == NULL)