Message ID | 20200316211136.2274-2-b-liu@ti.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | c87c27318c49d673e2a9cde3869424637364b609 |
Headers | show |
Series | musb patches for v5.7-rc1 | expand |
diff --git a/drivers/usb/musb/mediatek.c b/drivers/usb/musb/mediatek.c index a627f4133d6b..6196b0e8d77d 100644 --- a/drivers/usb/musb/mediatek.c +++ b/drivers/usb/musb/mediatek.c @@ -448,7 +448,7 @@ static int mtk_musb_probe(struct platform_device *pdev) struct platform_device_info pinfo; struct device *dev = &pdev->dev; struct device_node *np = dev->of_node; - int ret = -ENOMEM; + int ret; glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); if (!glue)