forked from luck/tmp_suning_uos_patched
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:
parent
0816ea2fa3
commit
87fb3dec36
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user