usb: gadget: bcm63xx_udc: delete unnecessary 'out of memory' messages
The memory subsystem has already had similar message for it. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
3efe90e995
commit
0590c4bf4b
|
@ -2324,10 +2324,8 @@ static int bcm63xx_udc_probe(struct platform_device *pdev)
|
|||
int rc = -ENOMEM, i, irq;
|
||||
|
||||
udc = devm_kzalloc(dev, sizeof(*udc), GFP_KERNEL);
|
||||
if (!udc) {
|
||||
dev_err(dev, "cannot allocate memory\n");
|
||||
if (!udc)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, udc);
|
||||
udc->dev = dev;
|
||||
|
|
Loading…
Reference in New Issue