ARM: cpuidle: Delete an error message for a failed memory allocation in arm_idle_init_cpu()
Subsystems (2)
PATCH 1/1 ARM: cpuidle: Delete an error message for a failed memory allocation in arm_idle_init_cpu()
From: Markus Elfring <[email protected]>
Date: Thu, 15 Feb 2018 16:40:38 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>
--- drivers/cpuidle/cpuidle-arm.c | 1 - 1 file changed, 1 deletion(-)
drivers/cpuidle/cpuidle-arm.c +0 -1
@@ -129,7 +129,6 @@ static int __init arm_idle_init_cpu(int cpu) dev =kzalloc (sizeof (*dev),GFP_KERNEL );if (!dev) { -pr_err ("Failed to allocate cpuidle device\n" ); ret = -ENOMEM ; goto out_unregister_drv; }
Signature · 1 line
2.16.1
Quoted 9 lines · SF Markus Elfring
From: Markus Elfring <[email protected]>
Date: Thu, 15 Feb 2018 16:40:38 +0100Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>---
Acked-by Daniel Lezcano <[email protected]>
Signature · 10 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html