mirror of https://gitee.com/openkylin/linux.git
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
|
@ -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 New Issue