git: 1e372ec9e1d4 - stable/13 - cp2112iic_intr_write_callback: eliminate write only variable psc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 04:30:02 UTC
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);