Commit aa10c7b0 authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi

usb: phy: phy-mv-usb: delete unnecessary 'out of memory' messages

The memory subsystem has already had similar message for it.
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 9da22206
...@@ -686,10 +686,8 @@ static int mv_otg_probe(struct platform_device *pdev) ...@@ -686,10 +686,8 @@ static int mv_otg_probe(struct platform_device *pdev)
} }
mvotg = devm_kzalloc(&pdev->dev, sizeof(*mvotg), GFP_KERNEL); mvotg = devm_kzalloc(&pdev->dev, sizeof(*mvotg), GFP_KERNEL);
if (!mvotg) { if (!mvotg)
dev_err(&pdev->dev, "failed to allocate memory!\n");
return -ENOMEM; return -ENOMEM;
}
otg = devm_kzalloc(&pdev->dev, sizeof(*otg), GFP_KERNEL); otg = devm_kzalloc(&pdev->dev, sizeof(*otg), GFP_KERNEL);
if (!otg) if (!otg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment