diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-10-14 15:56:12 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 10:01:04 -0600 |
commit | 87fb3dec36bc1823b810107b69435dc66f763543 (patch) | |
tree | 9ccc5ecf4f6aec9c59ae1534808bf214107a00f7 /drivers/usb/phy | |
parent | 0816ea2fa3c046b8c867aadbaadf19eb2fc3ac87 (diff) | |
download | linux-87fb3dec36bc1823b810107b69435dc66f763543.tar.bz2 |
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>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r-- | drivers/usb/phy/phy-rcar-usb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/phy/phy-rcar-usb.c b/drivers/usb/phy/phy-rcar-usb.c index 33265a5b2cdf..487959620141 100644 --- a/drivers/usb/phy/phy-rcar-usb.c +++ b/drivers/usb/phy/phy-rcar-usb.c @@ -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; |