projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cf48f1
)
ARM: OMAP2+: PRM: Delete an error message for a failed memory allocation
author
Markus Elfring
<elfring@users.sourceforge.net>
Sat, 3 Dec 2016 20:46:02 +0000
(21:46 +0100)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 27 Dec 2016 18:06:00 +0000
(10:06 -0800)
Omit an extra message for a memory allocation failure in this function.
Link:
http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/prm_common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/prm_common.c
b/arch/arm/mach-omap2/prm_common.c
index 5b2f5138d938ac626a1895b71a9a44cd0d757785..2b138b65129a5d609ff2ae02a55181c10154113b 100644
(file)
--- a/
arch/arm/mach-omap2/prm_common.c
+++ b/
arch/arm/mach-omap2/prm_common.c
@@
-295,10
+295,8
@@
int omap_prcm_register_chain_handler(struct omap_prcm_irq_setup *irq_setup)
GFP_KERNEL);
if (!prcm_irq_chips || !prcm_irq_setup->saved_mask ||
- !prcm_irq_setup->priority_mask) {
- pr_err("PRCM: kzalloc failed\n");
+ !prcm_irq_setup->priority_mask)
goto err;
- }
memset(mask, 0, sizeof(mask));