Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clocksource/drivers/arc_timer: Remove duplicate error message

The function arc_get_timer_clk() prints an error message if it fails,
remove the second error message if the function fails.

Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200429151223.3120-1-zhengdejin5@gmail.com

authored by

Dejin Zheng and committed by
Daniel Lezcano
311fb70a 83cba953

+1 -3
+1 -3
drivers/clocksource/arc_timer.c
··· 334 334 } 335 335 336 336 ret = arc_get_timer_clk(node); 337 - if (ret) { 338 - pr_err("clockevent: missing clk\n"); 337 + if (ret) 339 338 return ret; 340 - } 341 339 342 340 /* Needs apriori irq_set_percpu_devid() done in intc map function */ 343 341 ret = request_percpu_irq(arc_timer_irq, timer_irq_handler,