Message ID | 20200927135304.26036-1-tangbin@cmss.chinamobile.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2a87445af23ec7db311ff81f141626e72a2bbd86 |
Headers | show |
Series | usb: bdc: Fix unused assignment in bdc_probe() | expand |
diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c index 9454f179e..f079c1fac 100644 --- a/drivers/usb/gadget/udc/bdc/bdc_core.c +++ b/drivers/usb/gadget/udc/bdc/bdc_core.c @@ -480,7 +480,7 @@ static void bdc_phy_exit(struct bdc *bdc) static int bdc_probe(struct platform_device *pdev) { struct bdc *bdc; - int ret = -ENOMEM; + int ret; int irq; u32 temp; struct device *dev = &pdev->dev;