Commit 7cbbcbd4 authored by Li kunyu's avatar Li kunyu Committed by Daniel Lezcano

clocksource/drivers/arm_arch_timer: Remove unnecessary ‘0’ values from irq

The irq variable is initialized whatever the code path, it is poinless
to initialize when declaring it.
Signed-off-by: default avatarLi kunyu <kunyu@nfschina.com>
Link: https://lore.kernel.org/r/20240705040729.21961-1-kunyu@nfschina.comSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 256abd8e
......@@ -1556,7 +1556,7 @@ static int __init
arch_timer_mem_frame_register(struct arch_timer_mem_frame *frame)
{
void __iomem *base;
int ret, irq = 0;
int ret, irq;
if (arch_timer_mem_use_virtual)
irq = frame->virt_irq;
......
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