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

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

usb: phy: phy-rcar-gen2-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 9aabd032
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -195,10 +195,8 @@ static int rcar_gen2_usb_phy_probe(struct platform_device *pdev)
		return PTR_ERR(base);

	priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
	if (!priv) {
		dev_err(dev, "Memory allocation failed\n");
	if (!priv)
		return -ENOMEM;
	}

	spin_lock_init(&priv->lock);
	priv->clk = clk;