projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6546979
)
usb: musb: tusb6010: delete unnecessary 'out of memory' messages
author
Peter Chen
<peter.chen@freescale.com>
Tue, 14 Oct 2014 07:56:10 +0000
(15:56 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 3 Nov 2014 16:01:03 +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/musb/tusb6010.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/tusb6010.c
b/drivers/usb/musb/tusb6010.c
index 2daa779f138230ed8e48cb69f7bcc3b8ccc146b6..25f02dfc895519f05f8d180dc8c9b95b744a83ac 100644
(file)
--- a/
drivers/usb/musb/tusb6010.c
+++ b/
drivers/usb/musb/tusb6010.c
@@
-1164,10
+1164,8
@@
static int tusb_probe(struct platform_device *pdev)
int ret;
glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL);
- if (!glue) {
- dev_err(&pdev->dev, "failed to allocate glue context\n");
+ if (!glue)
return -ENOMEM;
- }
glue->dev = &pdev->dev;