diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-10-14 09:56:19 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 17:01:07 +0100 |
commit | b1cb07cdee8f0247b1a6b3ba63ad4214ee2032a4 (patch) | |
tree | c7cf3a50db644d6d5bf966c8f98fc2bbe9b7064d /drivers/usb/renesas_usbhs | |
parent | usb: phy: phy-mv-usb: delete unnecessary 'out of memory' messages (diff) | |
download | linux-b1cb07cdee8f0247b1a6b3ba63ad4214ee2032a4.tar.xz linux-b1cb07cdee8f0247b1a6b3ba63ad4214ee2032a4.zip |
usb: renesas_usbhs: 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/renesas_usbhs')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index b3b6813ab270..6dae1151569b 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c @@ -505,10 +505,8 @@ static int usbhs_probe(struct platform_device *pdev) /* usb private data */ priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); - if (!priv) { - dev_err(&pdev->dev, "Could not allocate priv\n"); + if (!priv) return -ENOMEM; - } priv->base = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR(priv->base)) |