[25/67] usb: gadget: fsl_qe_udc: delete unnecessary 'out of memory' messages

Message ID 1413566234-13537-26-git-send-email-balbi@ti.com
State Accepted
Commit 3efe90e995e72084505ee49680f698e8d5730b48
Headers show

Commit Message

Felipe Balbi Oct. 17, 2014, 5:16 p.m.
From: Peter Chen <peter.chen@freescale.com>

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 | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/drivers/usb/gadget/udc/fsl_qe_udc.c b/drivers/usb/gadget/udc/fsl_qe_udc.c
index dd18ea3..6601b0f 100644
--- a/drivers/usb/gadget/udc/fsl_qe_udc.c
+++ b/drivers/usb/gadget/udc/fsl_qe_udc.c
@@ -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;
 	}