From nobody Sun Oct 2 04:30:02 2022 X-Original-To: dev-commits-src-branches@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 4Mg9x70Mylz4dtC6; Sun, 2 Oct 2022 04:30:03 +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 4Mg9x66kZbz46R4; Sun, 2 Oct 2022 04:30:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664685003; 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=5LWj8OkfT7zhtQmqjIlKc4VCho13FtLJCX/3he7yq4c=; b=Adagqlmo9dZVS5kS4FcCiDNwNoOUzLNq/pNRLSGsGyEMKX37JDNaSdkilHnusXq7p8FKU1 clWticqO6E/vZBPyvAs3UZ5S4K4N5vdyxV1MrAgexogEsQiwZ7lyMjPLJasLv9WZxiE/7L fIwm+IGBV8lOxYNXeMIevUP0dY4mQx8uPKl66QsQxxGL3KnF+lMZsJvM73vgd5ELKjyVcz tEHkhmimu4n69mDdsCAhiMQvo5du8MxluSnu3G/i/P4FlFEL0//04N+aFhB6F+0DSQj6uD j4LGCVMPYlOhIL9Ql8e25c0y1DjWeyQRiq9CzFXO6GGEKWghbLAtMXZ9t0DcGg== 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 4Mg9x65gsdzlKN; Sun, 2 Oct 2022 04:30:02 +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 2924U2Xp060852; Sun, 2 Oct 2022 04:30:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924U2sn060850; Sun, 2 Oct 2022 04:30:02 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:30:02 GMT Message-Id: <202210020430.2924U2sn060850@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 1e372ec9e1d4 - stable/13 - cp2112iic_intr_write_callback: eliminate write only variable psc List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 1e372ec9e1d4d1f0cc216a2a427b9700e3ff83a4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664685003; 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=5LWj8OkfT7zhtQmqjIlKc4VCho13FtLJCX/3he7yq4c=; b=Bz9fosDilu8djjlZqWFmu8XYppJ92OorpjbcL55qiyFcZ0VjPiho6BMV1wHN16F5Os1e2f VueLlavtpe8ijcCegQdz7Dss/PNargn9XFdyYNPncAHOCQo8DD/zgOIn4Eyj3+C3S53CtW 5MyWZWREvug/jWTzwx6/SWOOssPqSs9yb026DkY9dHV5MF53J7Ne884hqF6uazNSef9Kp1 QPmlkP1HZuSfnFpOiw1MFWex/NNHWX+SvXzCtutNU/iZJffxjtlGVI7ampUot2Pyxdp5zY HUvypNDex8kCb1zsI+2fDgkIqNlZYl+vYgdhEprsxpt1apU7gfka8ewUAeFcHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664685003; a=rsa-sha256; cv=none; b=TzPvLKxrvSSplcFULNMsAnIkynQ5sX6rmByut3zQgwW1P1BnWMHZVnUc16DwfufVWaAKn1 udgsenSmNh4t6NBbCdteHBvFxeoQMm290ABpldSnTnB4ubZcQEi8rVM3ipyC9hlN3LSQwp v9YpPRMALub8ZNekq4c68GifbvonlbNrWXCtLE+HsBAv7JiGiB02QghHcrg5jDAUmCrXEL RRg98+vr0S7sViIm/A7IOgXouMSoFHL6LqYRc+vrES5xZL/uB8ROAyk44AD7pvVZ+x0ysH oVrM+qgG6fi2WSQU9w/wlNDXMg+WzMQNZ5TOB/VLPoUxSemTtBHGKPUalNNKtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=1e372ec9e1d4d1f0cc216a2a427b9700e3ff83a4 commit 1e372ec9e1d4d1f0cc216a2a427b9700e3ff83a4 Author: Warner Losh AuthorDate: 2022-07-08 17:53:33 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:56 +0000 cp2112iic_intr_write_callback: eliminate write only variable psc Sponsored by: Netflix (cherry picked from commit 11110685fcd52aa19500f029365a8093218747c6) --- sys/dev/usb/misc/cp2112.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/usb/misc/cp2112.c b/sys/dev/usb/misc/cp2112.c index 7c1fc14d56d0..51b96e544626 100644 --- a/sys/dev/usb/misc/cp2112.c +++ b/sys/dev/usb/misc/cp2112.c @@ -752,11 +752,9 @@ static void cp2112iic_intr_write_callback(struct usb_xfer *xfer, usb_error_t error) { struct cp2112iic_softc *sc; - struct cp2112_softc *psc; struct usb_page_cache *pc; sc = usbd_xfer_softc(xfer); - psc = device_get_softc(device_get_parent(sc->dev)); mtx_assert(&sc->io.lock, MA_OWNED);