Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2022 04:30:02 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1e372ec9e1d4 - stable/13 - cp2112iic_intr_write_callback: eliminate write only variable psc
Message-ID:  <202210020430.2924U2sn060850@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=1e372ec9e1d4d1f0cc216a2a427b9700e3ff83a4

commit 1e372ec9e1d4d1f0cc216a2a427b9700e3ff83a4
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 17:53:33 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210020430.2924U2sn060850>