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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user