From: Peter Chen Date: Tue, 14 Oct 2014 07:56:03 +0000 (+0800) Subject: usb: host: ehci-tegra: delete unnecessary 'out of memory' messages X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a41e4db0aaac75ab5db15185947c166412066cd6;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git usb: host: ehci-tegra: delete unnecessary 'out of memory' messages The memory subsystem has already had similar message for it. Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index aaa01971efe9..3e6f685a00ff 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -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; }