]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: host: ehci-tegra: delete unnecessary 'out of memory' messages
authorPeter Chen <peter.chen@freescale.com>
Tue, 14 Oct 2014 07:56:03 +0000 (15:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Nov 2014 23:42:05 +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-tegra.c

index aaa01971efe9be983c901c9c53eb15df82b820dc..3e6f685a00ff7b25b71a9ec5665296fcbe1170b5 100644 (file)
@@ -484,7 +484,6 @@ static int tegra_ehci_probe(struct platform_device *pdev)
        u_phy->otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg),
                             GFP_KERNEL);
        if (!u_phy->otg) {
-               dev_err(&pdev->dev, "Failed to alloc memory for otg\n");
                err = -ENOMEM;
                goto cleanup_phy;
        }