usb: dwc2: remove unused variable regs_otg
Remove the global regs_otg variable. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
901f6950a4
commit
a812d77617
@ -140,7 +140,6 @@ static struct usb_ep_ops dwc2_ep_ops = {
|
||||
|
||||
/***********************************************************/
|
||||
|
||||
void __iomem *regs_otg;
|
||||
struct dwc2_usbotg_reg *reg;
|
||||
|
||||
bool dfu_usb_get_reset(void)
|
||||
@ -818,8 +817,6 @@ int dwc2_udc_probe(struct dwc2_plat_otg_data *pdata)
|
||||
|
||||
reg = (struct dwc2_usbotg_reg *)pdata->regs_otg;
|
||||
|
||||
/* regs_otg = (void *)pdata->regs_otg; */
|
||||
|
||||
dev->gadget.is_dualspeed = 1; /* Hack only*/
|
||||
dev->gadget.is_otg = 0;
|
||||
dev->gadget.is_a_peripheral = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user