clocksource/drivers/bcm2835: Remove message for a memory allocation failure

The bcm2835_timer_init() function emits an error message in case of a memory
allocation failure. This is pointless as the mm core does that already.

Remove this message.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Markus Elfring and committed by
Daniel Lezcano
ebbe2665 4e18111f

-1
-1
drivers/clocksource/bcm2835_timer.c
··· 114 114 115 115 timer = kzalloc(sizeof(*timer), GFP_KERNEL); 116 116 if (!timer) { 117 - pr_err("Can't allocate timer struct\n"); 118 117 ret = -ENOMEM; 119 118 goto err_iounmap; 120 119 }