]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 dd18ea38e3917f272cdf3726b547a531ad208a09..6601b0fc097a0190b40fc3e7f9e8c725d15cd59c 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;
        }