Skip to contentSkip to conversation

x86/apic: Do not initialise globals to 0

PATCH New [email protected] 1 participant 1 message Jul 21, 2023 1 message not in the archive x86

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 x86/apic: Do not initialise globals to 0

Fix the following checkpatch error:

ERROR: do not initialise globals to 0

---
 arch/x86/kernel/apic/apic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/apic/apic.c +1 -1
index af49e24b46a4..8d46733ad94b 100644
@@ -202,7 +202,7 @@ static struct resource lapic_resource = {
 	.flags = IORESOURCE_MEM | IORESOURCE_BUSY,
 };
 
-unsigned int lapic_timer_period = 0;
+unsigned int lapic_timer_period;
 
 static void apic_pm_activate(void);