diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 31dd9f21820e..435a4ad780d8 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -1766,11 +1766,9 @@ static int dwc3_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct resource *res, dwc_res; - struct dwc3 *dwc; - - int ret; - void __iomem *regs; + struct dwc3 *dwc; + int ret; dwc = devm_kzalloc(dev, sizeof(*dwc), GFP_KERNEL); if (!dwc)