提交 311fb70a 编写于 作者: D Dejin Zheng 提交者: Daniel Lezcano

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: NDejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200429151223.3120-1-zhengdejin5@gmail.com
上级 83cba953
...@@ -334,10 +334,8 @@ static int __init arc_clockevent_setup(struct device_node *node) ...@@ -334,10 +334,8 @@ static int __init arc_clockevent_setup(struct device_node *node)
} }
ret = arc_get_timer_clk(node); ret = arc_get_timer_clk(node);
if (ret) { if (ret)
pr_err("clockevent: missing clk\n");
return ret; return ret;
}
/* Needs apriori irq_set_percpu_devid() done in intc map function */ /* Needs apriori irq_set_percpu_devid() done in intc map function */
ret = request_percpu_irq(arc_timer_irq, timer_irq_handler, ret = request_percpu_irq(arc_timer_irq, timer_irq_handler,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册