usb: host: ehci-mv: delete unnecessary 'out of memory' messages
authorPeter Chen <peter.chen@freescale.com>
Tue, 14 Oct 2014 07:56:01 +0000 (15:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Nov 2014 23:42:04 +0000 (15:42 -0800)
The memory subsystem has already had similar message for it.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-mv.c

index 08147c35f83608aec8d895d981be5b37b7a7c30e..b1855c1b6cd46e489ddee1f7aec032a52b6a841c 100644 (file)
@@ -153,7 +153,6 @@ static int mv_ehci_probe(struct platform_device *pdev)
 
        ehci_mv = devm_kzalloc(&pdev->dev, sizeof(*ehci_mv), GFP_KERNEL);
        if (ehci_mv == NULL) {
-               dev_err(&pdev->dev, "cannot allocate ehci_hcd_mv\n");
                retval = -ENOMEM;
                goto err_put_hcd;
        }