Commit 0590c4bf authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi

usb: gadget: bcm63xx_udc: delete unnecessary 'out of memory' messages

The memory subsystem has already had similar message for it.
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 3efe90e9
...@@ -2324,10 +2324,8 @@ static int bcm63xx_udc_probe(struct platform_device *pdev) ...@@ -2324,10 +2324,8 @@ static int bcm63xx_udc_probe(struct platform_device *pdev)
int rc = -ENOMEM, i, irq; int rc = -ENOMEM, i, irq;
udc = devm_kzalloc(dev, sizeof(*udc), GFP_KERNEL); udc = devm_kzalloc(dev, sizeof(*udc), GFP_KERNEL);
if (!udc) { if (!udc)
dev_err(dev, "cannot allocate memory\n");
return -ENOMEM; return -ENOMEM;
}
platform_set_drvdata(pdev, udc); platform_set_drvdata(pdev, udc);
udc->dev = dev; udc->dev = dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment