From nobody Tue Apr 05 04:32:49 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 2D3D51A92508; Tue, 5 Apr 2022 04:32:50 +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 4KXZWP6crXz4gHy; Tue, 5 Apr 2022 04:32:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133170; 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=fL7eZodHfb5dDJdTnpwuI+BNMc6HK+iSlNVV9AXPXGI=; b=cIzLwZgH2iPAjBakdJXC9VCLj5TBRDBEIMP8lxIVV/1tQ5Zw4nXqunkpGJIt1OooCZjpoE dg3ND2UEFqynS9OMm8/WeZVIubJ9vg6OJqnlxWUydRYJkP9LCMuH32NFpEwKRr5fgDl3w0 ENel2+vx1X0w2XJY64liSxLc9ElT7beKuWMjK3gs50ww+6oa2H8tyrpQRF0evYdM0ZtWoB odsPVHtqtjKORAqywy4IIH5Bxm2jO5dwVxA9K63NXlIngWYGyKZ5crLa9ikWqv0wnumVqZ 5qkvkid1lzC3x1ahDVm7S6oI/a0/aJbWi+/z8Z9bdG1k+qqs5xCCroDZ1pl8QA== 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 BE1EE1F9B1; Tue, 5 Apr 2022 04:32:49 +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 2354WnjK009513; Tue, 5 Apr 2022 04:32:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354WnST009512; Tue, 5 Apr 2022 04:32:49 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:49 GMT Message-Id: <202204050432.2354WnST009512@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: 6ccdcae1b9a6 - main - uhci_xfer_setup: eliminate write only variable sc 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: 6ccdcae1b9a693ffddf724cf850424e3b291bca1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133170; 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=fL7eZodHfb5dDJdTnpwuI+BNMc6HK+iSlNVV9AXPXGI=; b=B/HhU9dm9AWXMvVeoGBgKvzDX7JdMGpyw9LmoH2GC3r8srPdNjjy5zm1RRSiwEGlBIl5/B 3qt6Sxy47qDCUItKFiw2huH2G4Gc8ietiISYkleHO1TrHPC5jjLBrspskpVsiaRUMh15nN uAO22NUBpftlD+hABLXWe5pS4VLHBaU9IwdFJIClxoObSMNqs/CvOEKbJPQB2xBbIUTy+3 x7ZzWD5EXbedZOmM1et3je3Kkf+rujUMpn4lDxoByXMFQQMltXezAERD5tCZy8LywF/o+8 PRBUi/QXW+u8j4u/uNrTYlo2XEnw/jq80Y3dbtM7NhvbNPKUnre63ctXkennNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133170; a=rsa-sha256; cv=none; b=i+9hcKBvSOb1zxgnn8wdJErYiiHgdXo/KgTmfrCPXQNv2qn5p+M5jdMqADbX6Rbh5HFS3h SZdnRrzgDg+BNRV/TSsPf/jGq6EoBgEtzMH953FKoifjHhzgpPSoEj9x9MAirBf3JUYp2f 6hKpLRKj/hy1jgwUDIa4EA9RLg3i/pBknTu+GC+qqS7qFMDFFoiV68hLbyWmkRHLC5eljV /utKn/lwXd2luq7Pygf+XBw4Hn/uJBvVrMj8V2y/v0wnLJm7NSIrpV7NtpLRXEiCZ6L3No 9xNPG/wgkv7mIjaBj2xbz49pvKKib0fc7lTVIhbwHc41sAWy97Vstw5bYzGN4Q== 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=6ccdcae1b9a693ffddf724cf850424e3b291bca1 commit 6ccdcae1b9a693ffddf724cf850424e3b291bca1 Author: Warner Losh AuthorDate: 2022-04-05 02:27:58 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:30:29 +0000 uhci_xfer_setup: eliminate write only variable sc Sponsored by: Netflix --- 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 4c72118d9900..28ae5cd37879 100644 --- a/sys/dev/usb/controller/uhci.c +++ b/sys/dev/usb/controller/uhci.c @@ -2772,7 +2772,6 @@ uhci_xfer_setup(struct usb_setup_params *parm) { struct usb_page_search page_info; struct usb_page_cache *pc; - uhci_softc_t *sc; struct usb_xfer *xfer; void *last_obj; uint32_t ntd; @@ -2781,7 +2780,6 @@ uhci_xfer_setup(struct usb_setup_params *parm) uint32_t n; uint16_t align; - sc = UHCI_BUS2SC(parm->udev->bus); xfer = parm->curr_xfer; parm->hc_max_packet_size = 0x500;