Explorar el Código

usb: gadget: r8a66597-udc: remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Jingoo Han hace 11 años
padre
commit
e5f06f909f
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      drivers/usb/gadget/r8a66597-udc.c

+ 0 - 1
drivers/usb/gadget/r8a66597-udc.c

@@ -1904,7 +1904,6 @@ static int __init r8a66597_probe(struct platform_device *pdev)
 	r8a66597 = kzalloc(sizeof(struct r8a66597), GFP_KERNEL);
 	if (r8a66597 == NULL) {
 		ret = -ENOMEM;
-		dev_err(&pdev->dev, "kzalloc error\n");
 		goto clean_up;
 	}