diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-10-14 03:56:12 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 11:01:04 -0500 |
commit | 87fb3dec36bc1823b810107b69435dc66f763543 (patch) | |
tree | 9ccc5ecf4f6aec9c59ae1534808bf214107a00f7 /drivers/usb/phy | |
parent | 0816ea2fa3c046b8c867aadbaadf19eb2fc3ac87 (diff) |
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) | |||
202 | } | 202 | } |
203 | 203 | ||
204 | priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); | 204 | priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); |
205 | if (!priv) { | 205 | if (!priv) |
206 | dev_err(dev, "priv data allocation error\n"); | ||
207 | return -ENOMEM; | 206 | return -ENOMEM; |
208 | } | ||
209 | 207 | ||
210 | priv->reg0 = reg0; | 208 | priv->reg0 = reg0; |
211 | priv->reg1 = reg1; | 209 | priv->reg1 = reg1; |