From nobody Fri Dec 03 22:21:33 2021 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 DE3D018C45B8; Fri, 3 Dec 2021 22:21:33 +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 4J5S3K4b2Cz3m2p; Fri, 3 Dec 2021 22:21:33 +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 7D5F818E3A; Fri, 3 Dec 2021 22:21: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 1B3MLXTJ080882; Fri, 3 Dec 2021 22:21:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B3MLX40080881; Fri, 3 Dec 2021 22:21:33 GMT (envelope-from git) Date: Fri, 3 Dec 2021 22:21:33 GMT Message-Id: <202112032221.1B3MLX40080881@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: d85a58cb0c1b - main - Fix "set but not used" in busdma_bounce. 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: scottl X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d85a58cb0c1b28a4e35154968f39bee76fb5f6ef Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638570093; 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=au3czKCry1+Um7EE2yXJmd+lxvC7ClfiyoVTKMG5HAM=; b=auZmiEDtyh3XaJnUgX3GrAxfGNwG89VQt4zx3AzP/19FykTAVynEkTqljwGwI4JcUFIGjG 4jeN+pRAjA0474Wf9dNG/L96uWo9eZ+82bkhAqpvVzJAvRUUF3SJV4WetwqmbtJvk4EEwG XPXkgXHyiiMWRfzsWxqQIT9TQZuib0zGozVE+UTLstMgkKjbaIMjlCBLQDKMPDnWA5FAxu nj0X0BxgN92eoAvPFbzb9H4VeDnMH+hFicAJq90saMBn7FCKDWwESnJkMWwvabfTi07VZK P1cZZB/xUuDPTi+y9O9ZrcLtaqZid2/RT6PQlgWZsH+j6ugJjAJemymBU7rj5w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638570093; a=rsa-sha256; cv=none; b=lFmf4NRbihu70VvJWRvpJwWypUajx8oXx73c7r8xELkB2SXDos1DFJ6nnH0gxLgoDQ3qDZ JCBAs+EDB1dC9J1SeNMfnQlwjofRANeilaNh7KD8PeeUj9XKldp1YjI5tPa41NMr+mC7Tb ho3JRNOQ8XVK3MvF2iF1aKE1R8Q9P09am/8fKcJ4LtodkX3csr0qojGJHP4aH89UNevs67 f0MhAEduT/hQ/jYo9txpvFqqEdGDyGw/NYYLUcEYQ3kgw/GchQurfDKKPQHN/RrEpq4al1 WJIMt06sdC/s128NiUyw2do9KE3aiq+/lI3QnytX/nx9SXp1C3sdMeHGdtIGzg== 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=d85a58cb0c1b28a4e35154968f39bee76fb5f6ef commit d85a58cb0c1b28a4e35154968f39bee76fb5f6ef Author: Scott Long AuthorDate: 2021-12-03 22:20:42 +0000 Commit: Scott Long CommitDate: 2021-12-03 22:20:42 +0000 Fix "set but not used" in busdma_bounce. Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/x86/x86/busdma_bounce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/x86/x86/busdma_bounce.c b/sys/x86/x86/busdma_bounce.c index 5519888542d3..ee6d2d50d542 100644 --- a/sys/x86/x86/busdma_bounce.c +++ b/sys/x86/x86/busdma_bounce.c @@ -268,7 +268,8 @@ bounce_bus_dma_tag_set_domain(bus_dma_tag_t dmat) static int bounce_bus_dma_tag_destroy(bus_dma_tag_t dmat) { - bus_dma_tag_t dmat_copy, parent; + bus_dma_tag_t dmat_copy __diagused; + bus_dma_tag_t parent; int error; error = 0;