Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: host: xhci-tegra: don't print on ENOMEM

All kmalloc-based functions print enough information on failures.

Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Wolfram Sang and committed by
Greg Kroah-Hartman
a35234b2 314e6725

-1
-1
drivers/usb/host/xhci-tegra.c
··· 1033 1033 tegra->phys = devm_kcalloc(&pdev->dev, tegra->num_phys, 1034 1034 sizeof(*tegra->phys), GFP_KERNEL); 1035 1035 if (!tegra->phys) { 1036 - dev_err(&pdev->dev, "failed to allocate PHY array\n"); 1037 1036 err = -ENOMEM; 1038 1037 goto put_padctl; 1039 1038 }