Commit f3539a6a authored by Li kunyu's avatar Li kunyu Committed by Daniel Lezcano

clocksource/driver/arm_global_timer: Remove unnecessary ‘0’ values from err

The 'err' variable is initialized whatever the code path, it is
pointless to initialize it when it is declared.
Signed-off-by: default avatarLi kunyu <kunyu@nfschina.com>
Link: https://lore.kernel.org/r/20240705052159.22235-1-kunyu@nfschina.comSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 7cbbcbd4
......@@ -343,7 +343,7 @@ static int __init global_timer_of_register(struct device_node *np)
{
struct clk *gt_clk;
static unsigned long gt_clk_rate;
int err = 0;
int err;
/*
* In A9 r2p0 the comparators for each processor with the global timer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment