Skip to contentSkip to conversation

ARM: OMAP2+: PRM: Delete an error message for a failed memory allocation

PATCH In review SF Markus Elfring 2 participants 2 messages Dec 3, 2016 – Dec 27, 2016

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP2+: PRM: Delete an error message for a failed memory allocation

From: Markus Elfring <[email protected]>
Date: Sat, 3 Dec 2016 21:46:02 +0100

Omit an extra message for a memory allocation failure in this function.

---
 arch/arm/mach-omap2/prm_common.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
arch/arm/mach-omap2/prm_common.c +1 -3
index 5b2f5138d938..2b138b65129a 100644
@@ -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));
 
Signature · 1 line
2.11.0
maintainer
#1 lore raw
Quoted 4 lines · SF Markus Elfring

From: Markus Elfring <[email protected]>
Date: Sat, 3 Dec 2016 21:46:02 +0100

Omit an extra message for a memory allocation failure in this function.

Applying into omap-for-v4.10/fixes.

Regards,

Tony