mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
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
This commit is contained in:
parent
83cba95369
commit
311fb70aa5
@ -334,10 +334,8 @@ static int __init arc_clockevent_setup(struct device_node *node)
|
||||
}
|
||||
|
||||
ret = arc_get_timer_clk(node);
|
||||
if (ret) {
|
||||
pr_err("clockevent: missing clk\n");
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Needs apriori irq_set_percpu_devid() done in intc map function */
|
||||
ret = request_percpu_irq(arc_timer_irq, timer_irq_handler,
|
||||
|
Loading…
Reference in New Issue
Block a user