arm64: allwinner: aw_usb3phy: Plug set but not used variable
Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
@@ -192,11 +192,9 @@ static int
|
|||||||
awusb3phy_set_mode(struct phynode *phynode, int mode)
|
awusb3phy_set_mode(struct phynode *phynode, int mode)
|
||||||
{
|
{
|
||||||
device_t dev;
|
device_t dev;
|
||||||
intptr_t phy;
|
|
||||||
struct awusb3phy_softc *sc;
|
struct awusb3phy_softc *sc;
|
||||||
|
|
||||||
dev = phynode_get_device(phynode);
|
dev = phynode_get_device(phynode);
|
||||||
phy = phynode_get_id(phynode);
|
|
||||||
sc = device_get_softc(dev);
|
sc = device_get_softc(dev);
|
||||||
|
|
||||||
if (mode != PHY_USB_MODE_HOST)
|
if (mode != PHY_USB_MODE_HOST)
|
||||||
|
|||||||
Reference in New Issue
Block a user