Skip to content

Commit 7cbbcbd

Browse files
likunyurdlezcano
authored andcommitted
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: Li kunyu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 256abd8 commit 7cbbcbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clocksource/arm_arch_timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,7 @@ static int __init
15561556
arch_timer_mem_frame_register(struct arch_timer_mem_frame *frame)
15571557
{
15581558
void __iomem *base;
1559-
int ret, irq = 0;
1559+
int ret, irq;
15601560

15611561
if (arch_timer_mem_use_virtual)
15621562
irq = frame->virt_irq;

0 commit comments

Comments
 (0)