Skip to contentSkip to conversation

arch/x86/kernel/machine_kexec_32.c: remove extra semicolons

PATCH Applied WANG Cong 2 participants 2 messages Jun 24, 2008 x86

lore
Share & tools
lore

WANG Cong

author
#0 lore raw

PATCH 1/1 arch/x86/kernel/machine_kexec_32.c: remove extra semicolons

I can't see any reason to keep these semicolons.

---

arch/x86/kernel/machine_kexec_32.c +2 -2
index d0b234c..f496017 100644
@@ -39,7 +39,7 @@ static void set_idt(void *newidt, __u16 limit)
 	curidt.address = (unsigned long)newidt;
 
 	load_idt(&curidt);
-};
+}
 
 
 static void set_gdt(void *newgdt, __u16 limit)
@@ -51,7 +51,7 @@ static void set_gdt(void *newgdt, __u16 limit)
 	curgdt.address = (unsigned long)newgdt;
 
 	load_gdt(&curgdt);
-};
+}
 
 static void load_segments(void)
 {
Applied
#1 lore raw
Quoted 1 line · WANG Cong

I can't see any reason to keep these semicolons.

/me neither :-)

applied to tip/x86/cleanups, thanks!

Ingo