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:
6a58856
)
usb: musb: musb_dsps: delete unnecessary 'out of memory' messages
author
Peter Chen
<
[email protected]
>
Tue, 14 Oct 2014 07:56:11 +0000
(15:56 +0800)
committer
Felipe Balbi
<
[email protected]
>
Mon, 3 Nov 2014 16:01:04 +0000
(10:01 -0600)
The memory subsystem has already had similar message for it.
Signed-off-by: Peter Chen <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
drivers/usb/musb/musb_dsps.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_dsps.c
b/drivers/usb/musb/musb_dsps.c
index 48bc09e7b83b2855a9384b0d646322cb565be6fb..6209456861b6996bdcfcd30544c5f144b82ca0f4 100644
(file)
--- a/
drivers/usb/musb/musb_dsps.c
+++ b/
drivers/usb/musb/musb_dsps.c
@@
-729,7
+729,6
@@
static int dsps_create_musb_pdev(struct dsps_glue *glue,
config = devm_kzalloc(&parent->dev, sizeof(*config), GFP_KERNEL);
if (!config) {
- dev_err(dev, "failed to allocate musb hdrc config\n");
ret = -ENOMEM;
goto err;
}
@@
-781,10
+780,8
@@
static int dsps_probe(struct platform_device *pdev)
/* allocate glue */
glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL);
- if (!glue) {
- dev_err(&pdev->dev, "unable to allocate glue memory\n");
+ if (!glue)
return -ENOMEM;
- }
glue->dev = &pdev->dev;
glue->wrp = wrp;