usb: gadget: r8a66597-udc: remove unnecessary OOM messages
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 06:49:10 +0000 (15:49 +0900)
committerFelipe Balbi <balbi@ti.com>
Wed, 14 May 2014 14:23:29 +0000 (09:23 -0500)
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>
drivers/usb/gadget/r8a66597-udc.c

index aff0a6718bc60b50b963050930a91e948885050c..b698a490cc7d78e345a4a518af3c39238c8cb5af 100644 (file)
@@ -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;
        }