Commit 87fb3dec authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi

usb: phy: phy-rcar-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 0816ea2f
......@@ -202,10 +202,8 @@ static int rcar_usb_phy_probe(struct platform_device *pdev)
}
priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
if (!priv) {
dev_err(dev, "priv data allocation error\n");
if (!priv)
return -ENOMEM;
}
priv->reg0 = reg0;
priv->reg1 = reg1;
......
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