arm64: allwinner: aw_usb3phy: Plug set but not used variable

Sponsored by:	Beckhoff Automation GmbH & Co. KG
This commit is contained in:
Emmanuel Vadot 2022-02-21 10:54:47 +01:00
parent d6ab3d1c20
commit cfd8b9545e

View File

@ -192,11 +192,9 @@ static int
awusb3phy_set_mode(struct phynode *phynode, int mode)
{
device_t dev;
intptr_t phy;
struct awusb3phy_softc *sc;
dev = phynode_get_device(phynode);
phy = phynode_get_id(phynode);
sc = device_get_softc(dev);
if (mode != PHY_USB_MODE_HOST)