diff --git a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c --- a/sys/arm/qualcomm/ipq4018_usb_hs_phy.c +++ b/sys/arm/qualcomm/ipq4018_usb_hs_phy.c @@ -212,8 +212,6 @@ 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 --- a/sys/arm/qualcomm/ipq4018_usb_ss_phy.c +++ b/sys/arm/qualcomm/ipq4018_usb_ss_phy.c @@ -192,8 +192,6 @@ static int ipq4018_usb_ss_usbphy_detach(device_t dev) { - struct ipq4018_usb_ss_phy_softc *sc; - sc = device_get_softc(dev); return (0); }