projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa10c7b
)
usb: renesas_usbhs: delete unnecessary 'out of memory' messages
author
Peter Chen
<peter.chen@freescale.com>
Tue, 14 Oct 2014 07:56:19 +0000
(15:56 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 3 Nov 2014 16:01:07 +0000
(10:01 -0600)
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>
drivers/usb/renesas_usbhs/common.c
patch
|
blob
|
history
diff --git
a/drivers/usb/renesas_usbhs/common.c
b/drivers/usb/renesas_usbhs/common.c
index b3b6813ab270c046f9cf70ab99aa11821e2a7b0b..6dae1151569bc5fd3c7287b6815df88faa43c42e 100644
(file)
--- 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))