Browse Source

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 <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Peter Chen 10 years ago
parent
commit
a41e4db0aa
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/usb/host/ehci-tegra.c

+ 0 - 1
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;
 	}