Commit a41e4db0 authored by Peter Chen's avatar Peter Chen Committed by Greg Kroah-Hartman

usb: host: ehci-tegra: delete unnecessary 'out of memory' messages

The memory subsystem has already had similar message for it.
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 25f852a5
...@@ -484,7 +484,6 @@ static int tegra_ehci_probe(struct platform_device *pdev) ...@@ -484,7 +484,6 @@ static int tegra_ehci_probe(struct platform_device *pdev)
u_phy->otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg), u_phy->otg = devm_kzalloc(&pdev->dev, sizeof(struct usb_otg),
GFP_KERNEL); GFP_KERNEL);
if (!u_phy->otg) { if (!u_phy->otg) {
dev_err(&pdev->dev, "Failed to alloc memory for otg\n");
err = -ENOMEM; err = -ENOMEM;
goto cleanup_phy; goto cleanup_phy;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment