Skip to content

Commit fcef351

Browse files
committed
Revert "usb: dwc3: core: Fix unused variable warning in core driver"
This reverts commit 01be965.
1 parent 504e0d0 commit fcef351

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/usb/dwc3/core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,11 @@ static int dwc3_ss_phy_setup(struct dwc3 *dwc, int index)
705705

706706
static int dwc3_hs_phy_setup(struct dwc3 *dwc, int index)
707707
{
708+
unsigned int hw_mode;
708709
u32 reg;
709710

711+
hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0);
712+
710713
reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(index));
711714

712715
/* Select the HS PHY interface */

0 commit comments

Comments
 (0)