From nobody Tue Apr 05 04:32:50 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 A61F91A926D6; Tue, 5 Apr 2022 04:32:52 +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 4KXZWR0rVKz4gTS; Tue, 5 Apr 2022 04:32:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133172; 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=j9wC0efXOR8nUWzCNA18snYgyhUzbFbfyyldWamG44U=; b=SqYt/m23+VOrJtkaCZl3gADRpRTQGVFwd12mSYhFRQzSi2su7kFQSS1MkH8eIlyrrTIUJX 5OglsnoHlr7qj6E7atch1bJfEt1hidE1wXFr8bkZoVsLfig4UCpZW/fYvYO5ygaE3trPbM I1zzlKNnRasOnS4rDIWc0Taw94mZaZqbf1wW9KQN2M/fb/DeGIyHXzvCHrLYBf6OPOKU0a OJejSKyRXHc8kvxOjXTcA5WYSOCP/1tOdmK/CJi5ydAsTH3zw5z/y6ZizXLmb5hicaD3Zc bUeLoeA0Ve6ikZ3kKIEgrEsRV5YJ0J+rOOL5usczafLcBdTX0X1Elel95qcwsA== 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 E5AC71FB4B; Tue, 5 Apr 2022 04:32:50 +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 2354WoXv009537; Tue, 5 Apr 2022 04:32:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354WoOj009536; Tue, 5 Apr 2022 04:32:50 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:50 GMT Message-Id: <202204050432.2354WoOj009536@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 12312f75838e - main - uss820dci: eliminate unused variables sc, ep_no 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 12312f75838e49635909f5ad4ba9e9688a3073b7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133172; 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=j9wC0efXOR8nUWzCNA18snYgyhUzbFbfyyldWamG44U=; b=xuCi7clJp4x38oMTaQO62CToGWu6+Sz1VLl6SXStrLBl5MF4GFkFWPSQUECUmpbDYr5LAN vj6feieczWcmWx2t3neM21PxEabvPWeU00c1JLwPkF7YiJgJM6ueEtJ3zSRBnL27bubvR3 S+pFpwsFiqYy6UaIRsaVRnMCtAsUEoxtNVCszVsBh+rY7Q4q+w216US4EBVxpjCQDAm9ga 5U9UVf8YQ9SpEzfwCMYYZagRKxWGQ5lhSUxXygOjpJiUyPd5PvwFntGZwt6J13+ny5NNWw 38zThlhqrQA6XJ/xVIe58dLf1KrboXmUqVU2wFVtysYQmtITNBgs7fkI/8+dLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133172; a=rsa-sha256; cv=none; b=jTDMdPpOLwRZ3EZQtbGLabuJPMM3CxxocCkbNDUQktKkc1nsVByKnT6fDSe0vQODbUmm91 06lsFUyE0Vy/0wBsOVzLQMMs49aaW80OQYP2guxKNZumECbvTPUuaDuYtEyiXY8p4novkH cqBCBNUwK0qBxuEuJrDv9Xxp0+sr9/yUyH1KgUbTfbIustu+46Bg1jHWa/PDgHR1o2f3ym w5Prw8vgxRt17vaegsm1LH+u7NkxRF2PZLBKLWTbtbrnG+iKc/kcmgmnb8F7dY2su+qVbB y35WmAwOIooahMOdVw/f9K1PVgL2rPcCelgslVDZ3dy7fYGX+57mJugyq2yEog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=12312f75838e49635909f5ad4ba9e9688a3073b7 commit 12312f75838e49635909f5ad4ba9e9688a3073b7 Author: Warner Losh AuthorDate: 2022-04-05 02:28:29 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:30:31 +0000 uss820dci: eliminate unused variables sc, ep_no Sponsored by: Netflix --- sys/dev/usb/controller/uss820dci.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/dev/usb/controller/uss820dci.c b/sys/dev/usb/controller/uss820dci.c index 7bbfdace3e72..965437fa1dc5 100644 --- a/sys/dev/usb/controller/uss820dci.c +++ b/sys/dev/usb/controller/uss820dci.c @@ -878,10 +878,8 @@ static void uss820dci_setup_standard_chain(struct usb_xfer *xfer) { struct uss820_std_temp temp; - struct uss820dci_softc *sc; struct uss820dci_td *td; uint32_t x; - uint8_t ep_no; DPRINTFN(9, "addr=%d endpt=%d sumlen=%d speed=%d\n", xfer->address, UE_GET_ADDR(xfer->endpointno), @@ -903,9 +901,6 @@ uss820dci_setup_standard_chain(struct usb_xfer *xfer) xfer->flags_int.isochronous_xfr; temp.did_stall = !xfer->flags_int.control_stall; - sc = USS820_DCI_BUS2SC(xfer->xroot->bus); - ep_no = (xfer->endpointno & UE_ADDR); - /* check if we should prepend a setup message */ if (xfer->flags_int.control_xfr) { @@ -2217,14 +2212,12 @@ static void uss820dci_xfer_setup(struct usb_setup_params *parm) { const struct usb_hw_ep_profile *pf; - struct uss820dci_softc *sc; struct usb_xfer *xfer; void *last_obj; uint32_t ntd; uint32_t n; uint8_t ep_no; - sc = USS820_DCI_BUS2SC(parm->udev->bus); xfer = parm->curr_xfer; /*