From nobody Wed Apr 06 23:46:01 2022 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 796B61A82968; Wed, 6 Apr 2022 23:46:02 +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 4KYh3Z1nYPz4Qq4; Wed, 6 Apr 2022 23:46:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288762; 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=sZHcfA3f+h4FIo/Upt+w0Iwh1Hf2xmYrHKMvKOsXrZs=; b=M0YIbA2vW6W8RxSnmMNpRaADBMnAd5ly8qqtD8xNRW+4ZP5djsr/ozYn4A8vQkFg6+lRwA Sl6KXi69lnMzlUjtXTYZrkLivPYx8MGZFWLtH9xNOqbLZDeiVL+JaPCSTQ/yMQUItY+ppk N1InxlSNrjCV4XUeRixjTMX7OXhBntMBqCWMHiLDE95/yyzWmB3yTSyOWKTI+0XvmXP9Td /GCkMvff9Sd5plpXsa7v4d1HvWO4BNRXLNL7K5hALqrb7XWtda0s3XD6hcB2Y+th3jg8M1 TBUcENCs21AjsPRJKVSXUW7Nd+p0RNDI/JZRPS9GnzlpsKcD6Cqql4sC2sVRzQ== 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 E02F924869; Wed, 6 Apr 2022 23:46:01 +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 236Nk1AR008691; Wed, 6 Apr 2022 23:46:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 236Nk1he008690; Wed, 6 Apr 2022 23:46:01 GMT (envelope-from git) Date: Wed, 6 Apr 2022 23:46:01 GMT Message-Id: <202204062346.236Nk1he008690@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: 8c3923ae2fef - main - uhci: Remove write-only 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c3923ae2fef4c337d87705165c3eb671aab5476 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288762; 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=sZHcfA3f+h4FIo/Upt+w0Iwh1Hf2xmYrHKMvKOsXrZs=; b=RfPLxNhts5CYGpsjaLRVjp6GbaQzNkOurulabmUCHrjpzrqF8O6k+rNHLiwLaIAmRaqORO j57I9BpSwa6MdBk37I+4SPBx8hcMSw3t2qriH4rgC5pMhj4mOZ54b24Fwj0DSEoGcChjhn AYfe9XWPNBCXiBf7Chvo6m5B1FvJSLEgAzNEAXIGTahQhQzzZjoGwburyo12aM+5MANHfS 7iFEUoKX2VESr10qoXzfdDFiDym1yXcP0QkaUDFXKwIFuRcMn8GQKN9HeqLVguVxlAjqTL Z6TccUKSai18e/hBQgG4IBYhvGVwdt34Gi3vmNsYPX9LZ+iAgrjLx/LfPbCXDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649288762; a=rsa-sha256; cv=none; b=A5KH/Jbovr5bnZJGkFKAmiePWxAtCZfPU9JtOFQimivr5k7FX64O4HDSly8+iIV6X2bECZ Tq1WYLtm+BstqqSgYiQ4YXjjFSqgtcjbZSPMwXBZXy5en/2ZH1opXtGjQChovo12esHGVC IQkgTFXwmYyPhre6x2ki+XguxzBl2BtIwv1d06NOLPZ490ysJjARVfnnz1tWt9NMCU63Vb 62MGvmAmoptlLb4HTKEtaDaW1cLdjA3JYEcKBrTBWgzi8JD/+AXZqYvQxnfhLADSLYVKhc B3wHSdGP4nre/uB6bjmAIn9kxAZDlxtz84ZYWZKITQSyIIWNGx4o+jLumrt39A== 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=8c3923ae2fef4c337d87705165c3eb671aab5476 commit 8c3923ae2fef4c337d87705165c3eb671aab5476 Author: John Baldwin AuthorDate: 2022-04-06 23:45:27 +0000 Commit: John Baldwin CommitDate: 2022-04-06 23:45:27 +0000 uhci: Remove write-only variable. --- sys/dev/usb/controller/uhci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/usb/controller/uhci.c b/sys/dev/usb/controller/uhci.c index 28ae5cd37879..e3189f23c7de 100644 --- a/sys/dev/usb/controller/uhci.c +++ b/sys/dev/usb/controller/uhci.c @@ -1295,7 +1295,6 @@ static uint8_t uhci_check_transfer(struct usb_xfer *xfer) { uint32_t status; - uint32_t token; uhci_td_t *td; DPRINTFN(16, "xfer=%p checking transfer\n", xfer); @@ -1332,7 +1331,6 @@ uhci_check_transfer(struct usb_xfer *xfer) while (1) { usb_pc_cpu_invalidate(td->page_cache); status = le32toh(td->td_status); - token = le32toh(td->td_token); /* * if there is an active TD the transfer isn't done