From: Wolfram Sang Date: Thu, 25 Aug 2016 17:39:09 +0000 (+0200) Subject: usb: host: xhci-tegra: don't print on ENOMEM X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a35234b2a67363f0174322b9cf8b385d236e8822;p=linux-beck.git usb: host: xhci-tegra: don't print on ENOMEM All kmalloc-based functions print enough information on failures. Signed-off-by: Wolfram Sang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c index 0f53ae0f464e..d39b37be71f0 100644 --- a/drivers/usb/host/xhci-tegra.c +++ b/drivers/usb/host/xhci-tegra.c @@ -1033,7 +1033,6 @@ static int tegra_xusb_probe(struct platform_device *pdev) tegra->phys = devm_kcalloc(&pdev->dev, tegra->num_phys, sizeof(*tegra->phys), GFP_KERNEL); if (!tegra->phys) { - dev_err(&pdev->dev, "failed to allocate PHY array\n"); err = -ENOMEM; goto put_padctl; }