usb: gadget: fsl_qe_udc: delete unnecessary 'out of memory' messages
authorPeter Chen <peter.chen@freescale.com>
Tue, 14 Oct 2014 07:55:58 +0000 (15:55 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:01 +0000 (10:01 -0600)
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>
drivers/usb/gadget/udc/fsl_qe_udc.c

index dd18ea3..6601b0f 100644 (file)
@@ -2538,7 +2538,6 @@ static int qe_udc_probe(struct platform_device *ofdev)
        /* create a buf for ZLP send, need to remain zeroed */
        udc->nullbuf = devm_kzalloc(&ofdev->dev, 256, GFP_KERNEL);
        if (udc->nullbuf == NULL) {
-               dev_err(udc->dev, "cannot alloc nullbuf\n");
                ret = -ENOMEM;
                goto err3;
        }