diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 5c6a7e99a4b9e..7ee61a89520b6 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -673,11 +673,8 @@ static int dwc3_ss_phy_setup(struct dwc3 *dwc, int index) static int dwc3_hs_phy_setup(struct dwc3 *dwc, int index) { - unsigned int hw_mode; u32 reg; - hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); - reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(index)); /* Select the HS PHY interface */