mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
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: Li kunyu <kunyu@nfschina.com> Link: https://lore.kernel.org/r/20240705052159.22235-1-kunyu@nfschina.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:
parent
7cbbcbd4b5
commit
f3539a6a69
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user