git: 11110685fcd5 - main - cp2112iic_intr_write_callback: eliminate write only variable psc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Apr 2022 04:32:53 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=11110685fcd52aa19500f029365a8093218747c6 commit 11110685fcd52aa19500f029365a8093218747c6 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-04-05 02:29:43 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-04-05 04:30:36 +0000 cp2112iic_intr_write_callback: eliminate write only variable psc Sponsored by: Netflix --- 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);