arch/x86: Remove unecessary semicolons
authorPeter Senna Tschudin <peter.senna@gmail.com>
Tue, 18 Sep 2012 16:36:14 +0000 (18:36 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Sep 2012 15:32:48 +0000 (17:32 +0200)
Found by http://coccinelle.lip6.fr/

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Cc: avi@redhat.com
Cc: mtosatti@redhat.com
Cc: a.p.zijlstra@chello.nl
Cc: rusty@rustcorp.com.au
Cc: masami.hiramatsu.pt@hitachi.com
Cc: suresh.b.siddha@intel.com
Cc: joerg.roedel@amd.com
Cc: agordeev@redhat.com
Cc: yinghai@kernel.org
Cc: bhelgaas@google.com
Cc: liuj97@gmail.com
Link: http://lkml.kernel.org/r/1347986174-30287-7-git-send-email-peter.senna@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/alternative.c
arch/x86/kernel/apic/apic.c
arch/x86/kvm/vmx.c
arch/x86/pci/mmconfig-shared.c

index ced4534baed574f7596b014f979748b1eedc2653..3318b1e53e06f8d98d704af7abf68003da0eb802 100644 (file)
@@ -317,7 +317,7 @@ static void alternatives_smp_lock(const s32 *start, const s32 *end,
                /* turn DS segment override prefix into lock prefix */
                if (*ptr == 0x3e)
                        text_poke(ptr, ((unsigned char []){0xf0}), 1);
-       };
+       }
        mutex_unlock(&text_mutex);
 }
 
@@ -338,7 +338,7 @@ static void alternatives_smp_unlock(const s32 *start, const s32 *end,
                /* turn lock prefix into DS segment override prefix */
                if (*ptr == 0xf0)
                        text_poke(ptr, ((unsigned char []){0x3E}), 1);
-       };
+       }
        mutex_unlock(&text_mutex);
 }
 
index 24deb308232824225e1e7f8d3933ea694778da4d..b17416e72fbdc461e7f5d3207ed6b6d459e7c145 100644 (file)
@@ -1934,7 +1934,7 @@ void smp_error_interrupt(struct pt_regs *regs)
                        apic_printk(APIC_DEBUG, KERN_CONT " : %s", error_interrupt_reason[i]);
                i++;
                v1 >>= 1;
-       };
+       }
 
        apic_printk(APIC_DEBUG, KERN_CONT "\n");
 
index b1eb202ee76a9265d920ca1b02d57aa1ff803d9a..b06737d122f4904020957fdc051a4ebde95db937 100644 (file)
@@ -4543,7 +4543,7 @@ static int handle_cr(struct kvm_vcpu *vcpu)
                                vcpu->run->exit_reason = KVM_EXIT_SET_TPR;
                                return 0;
                        }
-               };
+               }
                break;
        case 2: /* clts */
                handle_clts(vcpu);
index 937bcece700652fd40f7f9c7665f61ddf6700024..704b9ec043d709d787ffd732dc21c2200653de04 100644 (file)
@@ -585,7 +585,7 @@ static int __init pci_parse_mcfg(struct acpi_table_header *header)
        while (i >= sizeof(struct acpi_mcfg_allocation)) {
                entries++;
                i -= sizeof(struct acpi_mcfg_allocation);
-       };
+       }
        if (entries == 0) {
                pr_err(PREFIX "MMCONFIG has no entries\n");
                return -ENODEV;