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
This commit is contained in:
Adrian Chadd 2022-09-11 19:32:29 -07:00
parent f05b3c9f47
commit f060362ade
2 changed files with 0 additions and 4 deletions

View File

@ -212,8 +212,6 @@ ipq4018_usb_hs_usbphy_attach(device_t dev)
static int
ipq4018_usb_hs_usbphy_detach(device_t dev)
{
struct ipq4018_usb_hs_phy_softc *sc;
sc = device_get_softc(dev);
return (0);
}

View File

@ -192,8 +192,6 @@ ipq4018_usb_ss_usbphy_attach(device_t dev)
static int
ipq4018_usb_ss_usbphy_detach(device_t dev)
{
struct ipq4018_usb_ss_phy_softc *sc;
sc = device_get_softc(dev);
return (0);
}