usb: phy: phy-rcar-usb: delete unnecessary 'out of memory' messages

The memory subsystem has already had similar message for it.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Peter Chen 2014-10-14 15:56:12 +08:00 committed by Felipe Balbi
parent 0816ea2fa3
commit 87fb3dec36

View File

@ -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;