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

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

usb: phy: phy-mxs-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 3f8acf35
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -390,10 +390,8 @@ static int mxs_phy_probe(struct platform_device *pdev)
	}

	mxs_phy = devm_kzalloc(&pdev->dev, sizeof(*mxs_phy), GFP_KERNEL);
	if (!mxs_phy) {
		dev_err(&pdev->dev, "Failed to allocate USB PHY structure!\n");
	if (!mxs_phy)
		return -ENOMEM;
	}

	/* Some SoCs don't have anatop registers */
	if (of_get_property(np, "fsl,anatop", NULL)) {