From nobody Wed Sep 21 14:01:00 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 4MXg710vkDz4cXnQ; Wed, 21 Sep 2022 14:01:01 +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 4MXg710KmCz479Y; Wed, 21 Sep 2022 14:01:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663768861; 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=Aeo6pwpI/ChbzMVW+5uiAh/GBnfSsv4WfNIlICKYU4A=; b=wjt3Hpa72GFAxytXoCZSCIWCRwyZLRcbO7GdK9MbSQTbln6HqwduuX62r0UYn6/t3rbOrv SGUBlbhY+vcua2or6G1K9wn6LvJENpSPgqprAjViiStPUY/8fS7w6LW3S20w/vs3ytGmRs eADX+nZ/rano8Q6ai0PjUNMV4+cme9YxxfLrFbCGReUssOE2g4/f/c0Ghk+emDQ6jLjOq7 Me8FblAjvt2DHHLRsmPbiTxFFq1hurWtaAkL5qGOvHQbmV5WOTC6yUObxufwLpfqS2NfF8 sP0g7c8FI7n0uTlkD1nwwQS4fCvfmIhU2vdc/gqFRDGv+Loa5jXivcs9s+T0ZA== 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 4MXg706Tt1z150H; Wed, 21 Sep 2022 14:01:00 +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 28LE10kp099467; Wed, 21 Sep 2022 14:01:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28LE103m099466; Wed, 21 Sep 2022 14:01:00 GMT (envelope-from git) Date: Wed, 21 Sep 2022 14:01:00 GMT Message-Id: <202209211401.28LE103m099466@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: c147c214e6ef - stable/13 - XHCI: remove a self-assignment 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: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: c147c214e6ef810bcf2bcdb5dab26963b61dcd08 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663768861; 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=Aeo6pwpI/ChbzMVW+5uiAh/GBnfSsv4WfNIlICKYU4A=; b=D9dWyY4KPTRHgSBGC3YESLQsvElr5G5FAYvznTw3k0+jyDnhpmt5mTWPgvyisJSDbbh/IM qcnnB/+0kqaO3rfvNuOngSUAGoyMp7z7wKMbHvoY30SqI8a4MgTNs+0ZjjGQZYIQ+ZRQJd oNb+f7wAA6asLWTy7seGeQu2Sjwj+eVMRr3jMr2QsCJY9/USi56ErYVFpMpf4JfBPzRmdp Fsb7AwQnvd6JOGCuGSqzbeYDDd/WHn3tRX9GoJqiHSAPqs0HTZb1lb8ofpbZDgM4/GR1WI JUYErDMDUwS5KuPTuL/bstCaPGiXIga6qI9Q8KnDevVTCrNoUsO2B1G2nPdxYQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663768861; a=rsa-sha256; cv=none; b=Mtv8gXtMFyE4leRE0SDpUIY1T+R1nvAJg7BgwxbhuuPVjR3E0MCogpqx+WzeQBM8JkVwoW X/OnYyfrIcCeypQWGHU4x6SQXQRf3ayuUyOwNTOo4AmyBdHRiy0oKyHWSXRjdYx/cpNkcs W2fYOUi2ZGKdjvoefZbW+udYt5mtiXk/vbzIrkWvvgPv6qybiKKQ0XYol/IZP9UUE860a2 m3fBwMoKbUEbROFCw61YNFg9WkJQcvQ28jwOodJ7gyKcizNxgVQPNB1sLzKXen9pVtApoS EtrGIKh85aKBQ2REz3UCA8pwRaphaGYEbjO6NTCnZk3b2my0z9uYS9v5oy+7DQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=c147c214e6ef810bcf2bcdb5dab26963b61dcd08 commit c147c214e6ef810bcf2bcdb5dab26963b61dcd08 Author: Bjoern A. Zeeb AuthorDate: 2022-08-07 22:46:55 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-09-21 11:39:03 +0000 XHCI: remove a self-assignment x = x is an unneeded operation, remove it. The value is read and assigned above for real. (cherry picked from commit d3ef3c4cf818b1aac6a51402ec27b6762d9feb1f) --- sys/dev/usb/controller/xhci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c index 2d7894264860..17458e7d47dc 100644 --- a/sys/dev/usb/controller/xhci.c +++ b/sys/dev/usb/controller/xhci.c @@ -636,7 +636,6 @@ xhci_init(struct xhci_softc *sc, device_t self, uint8_t dma32) return (ENXIO); } - sc->sc_noport = sc->sc_noport; sc->sc_noslot = XHCI_HCS1_DEVSLOT_MAX(temp); DPRINTF("Max slots: %u\n", sc->sc_noslot);