mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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>
This commit is contained in:
parent
314e672506
commit
a35234b2a6
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue