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

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

usb: phy: phy-am335x-control: 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 01ad32d5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -147,10 +147,8 @@ static int am335x_control_usb_probe(struct platform_device *pdev)
	phy_ctrl = of_id->data;

	ctrl_usb = devm_kzalloc(&pdev->dev, sizeof(*ctrl_usb), GFP_KERNEL);
	if (!ctrl_usb) {
		dev_err(&pdev->dev, "unable to alloc memory for control usb\n");
	if (!ctrl_usb)
		return -ENOMEM;
	}

	ctrl_usb->dev = &pdev->dev;