From nobody Wed Apr 13 23:09:26 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 8FBF41B406D8; Wed, 13 Apr 2022 23:09: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 4Kdyw70qKYz4lx6; Wed, 13 Apr 2022 23:09:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891367; 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=khQJ+eWs7AHc5Ku/LRwYu3ldaPCjIxihPQbwDRxmMG8=; b=P/wuGno6qpN6y/CnzFjL/+vVOYw7xHCkyKH9+QGAU2BPbNldexwOyZ3pzIfxcKQVopPkrK Ws0aRqm1J/Vsy/vsYv+yUaLi+fVRkZHximkJfaxrPcyevsh5Siw99QJdb047JDMuA4D0fg WFAABdltaxPqqFPMnyXCdP+DA+rD8fTRW3B/xU4p7XWuRlVWGJ6vNQ0By8i3HmfejSnW9b wL0chPvH+H7LFmHfzcEku89htVPPubDUpS7kBaAl3Bets2N7BlFLB99e7FDK3KyNiqfG7S l3qg3tnXpkyLOfR8XW9oj0nWU5wxLAeTFYX+jh69KdiqmPWbZhCQhbeMlqzk/Q== 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 B906C1525F; Wed, 13 Apr 2022 23:09:26 +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 23DN9Q2n074385; Wed, 13 Apr 2022 23:09:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DN9QRY074384; Wed, 13 Apr 2022 23:09:26 GMT (envelope-from git) Date: Wed, 13 Apr 2022 23:09:26 GMT Message-Id: <202204132309.23DN9QRY074384@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: 1c5f188212d0 - main - usb: Use __diagused for variables only used in KASSERT(). 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: 1c5f188212d0e709c4c062d2a3b616a06408ced5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649891367; 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=khQJ+eWs7AHc5Ku/LRwYu3ldaPCjIxihPQbwDRxmMG8=; b=aJqK+E91w4qaGkx3FACAQOcM+SE8jefL3H+M2z6Vfvm6govrUw31D4FhMs0CqtPTja8x1p 5Y0BiStHtKs9KeW+dI9lyrZZrbBpHTtH739okibMxFm1g9Rvq/3C5oC8yWmsh3ltg8XVam n8u9eHFMLWv2Hnz9p+DMStxYakMie/mvoyOszgGR921W/WISiNmnRNYk52f1eRm2Ljc+op brw2LmwMSs5scIal0bMxTflhOj4wtEuoTUQ5YNS0dXTcSwsu8weMq4nC77NIdnx7b+NpsA 1Xszd+a2enNa7rDugjjdhdlvmXc1iKbdkspiS8TLjxH/rYS/w206b14hidz+6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649891367; a=rsa-sha256; cv=none; b=HPy8MXDAPm35Z5T6u8QhUdn/FbIEZoks25xMGTCHAjzgf/QLEyUnQtq2k4GeX0JBgomwXI XRin20SRV8c5vpA+6Cm59c3r24ONKoy5adjkyUE6rnlG5wsmYyT53hLlzdv1ioQ1tR8oF3 cLqE4a+g1lgW6d7FOorUTw5KulqF85i1sIxJ+rtlqfLh6OLro3UDwjxxDqOT09G7o4ORjX 4YoQBOQtbzQpeC3euX4RiJotMZzexhF0LyUW/vBLGZpr6P82nutlIY5xUNX2UbqeXAtt4g 0ke3mOwDJhgTiVBUP2kOiOGlBBBEKQwJ1Gt/hLuON3un5/Kryaboct/Tj0RIDQ== 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=1c5f188212d0e709c4c062d2a3b616a06408ced5 commit 1c5f188212d0e709c4c062d2a3b616a06408ced5 Author: John Baldwin AuthorDate: 2022-04-13 23:08:20 +0000 Commit: John Baldwin CommitDate: 2022-04-13 23:08:20 +0000 usb: Use __diagused for variables only used in KASSERT(). --- sys/dev/usb/misc/cp2112.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/usb/misc/cp2112.c b/sys/dev/usb/misc/cp2112.c index 51b96e544626..edc5a2499660 100644 --- a/sys/dev/usb/misc/cp2112.c +++ b/sys/dev/usb/misc/cp2112.c @@ -374,7 +374,7 @@ static int cp2112_gpio_read_pin(device_t dev, uint32_t pin_num, bool *on) { struct gpio_get_req data; - struct cp2112gpio_softc *sc; + struct cp2112gpio_softc *sc __diagused; int err; sc = device_get_softc(dev); @@ -393,7 +393,7 @@ static int cp2112_gpio_write_pin(device_t dev, uint32_t pin_num, bool on) { struct gpio_set_req data; - struct cp2112gpio_softc *sc; + struct cp2112gpio_softc *sc __diagused; int err; bool actual; @@ -419,7 +419,7 @@ cp2112_gpio_configure_write_pin(device_t dev, uint32_t pin_num, bool output, enum cp2112_out_mode *mode) { struct gpio_config_req data; - struct cp2112gpio_softc *sc; + struct cp2112gpio_softc *sc __diagused; int err; uint8_t mask;