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

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

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
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -686,10 +686,8 @@ static int mv_otg_probe(struct platform_device *pdev)
	}

	mvotg = devm_kzalloc(&pdev->dev, sizeof(*mvotg), GFP_KERNEL);
	if (!mvotg) {
		dev_err(&pdev->dev, "failed to allocate memory!\n");
	if (!mvotg)
		return -ENOMEM;
	}

	otg = devm_kzalloc(&pdev->dev, sizeof(*otg), GFP_KERNEL);
	if (!otg)