Skip to content

Commit 49b1418

Browse files
committed
Revert "usb: dwc3: core: Fix unused variable warning in core driver"
This reverts commit 01be965.
1 parent cc3aa31 commit 49b1418

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
@@ -685,8 +685,11 @@ static int dwc3_ss_phy_setup(struct dwc3 *dwc, int index)
685685

686686
static int dwc3_hs_phy_setup(struct dwc3 *dwc, int index)
687687
{
688+
unsigned int hw_mode;
688689
u32 reg;
689690

691+
hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0);
692+
690693
reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(index));
691694

692695
/* Select the HS PHY interface */

0 commit comments

Comments
 (0)