Procházet zdrojové kódy

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 před 11 roky
rodič
revize
a41e4db0aa
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  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;
 	}