Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a35234b2 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

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



All kmalloc-based functions print enough information on failures.

Signed-off-by: default avatarWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 314e6725
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}