clocksource: Delete an error message for a failed memory allocation in bcm2835_timer_init()
Subsystems (4)
PATCH 1/1 clocksource: Delete an error message for a failed memory allocation in bcm2835_timer_init()
From: Markus Elfring <[email protected]>
Date: Sun, 27 Aug 2017 21:38:13 +0200
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/clocksource/bcm2835_timer.c | 1 - 1 file changed, 1 deletion(-)
drivers/clocksource/bcm2835_timer.c +0 -1
@@ -114,7 +114,6 @@ static int __init bcm2835_timer_init(struct device_node *node) timer =kzalloc (sizeof (*timer),GFP_KERNEL );if (!timer) { -pr_err ("Can't allocate timer struct\n" ); ret = -ENOMEM ; goto err_iounmap; }
Signature · 1 line
2.14.1
Quoted 9 lines · SF Markus Elfring
From: Markus Elfring <[email protected]>
Date: Sun, 27 Aug 2017 21:38:13 +0200Omit 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]>---
I have applied it.
Thanks.
-- Daniel
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