git: f060362adeb4 - main - ipq4018: remove write-only variables in USB ehci/xhci bus glue
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Sep 2022 03:10:50 UTC
The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=f060362adeb422e1a70c2ff377ddcba9a244e527 commit f060362adeb422e1a70c2ff377ddcba9a244e527 Author: Adrian Chadd <adrian@FreeBSD.org> AuthorDate: 2022-09-12 02:32:29 +0000 Commit: Adrian Chadd <adrian@FreeBSD.org> CommitDate: 2022-09-13 03:10:24 +0000 ipq4018: remove write-only variables in USB ehci/xhci bus glue Changes in compilers / warnings/errors caused this to stop compiling. Delete the write-only code. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D36532 --- sys/arm/qualcomm/ipq4018_usb_hs_phy.c | 2 -- sys/arm/qualcomm/ipq4018_usb_ss_phy.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c index 4d3d0d70a9a3..611db46e678d 100644 --- a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c +++ b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c @@ -212,8 +212,6 @@ fail: static int ipq4018_usb_hs_usbphy_detach(device_t dev) { - struct ipq4018_usb_hs_phy_softc *sc; - sc = device_get_softc(dev); return (0); } diff --git a/sys/arm/qualcomm/ipq4018_usb_ss_phy.c b/sys/arm/qualcomm/ipq4018_usb_ss_phy.c index ad7ff8a5ff44..2b55d5c44500 100644 --- a/sys/arm/qualcomm/ipq4018_usb_ss_phy.c +++ b/sys/arm/qualcomm/ipq4018_usb_ss_phy.c @@ -192,8 +192,6 @@ fail: static int ipq4018_usb_ss_usbphy_detach(device_t dev) { - struct ipq4018_usb_ss_phy_softc *sc; - sc = device_get_softc(dev); return (0); }