[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Remove redundant semicolons
Hi all, I attached a patch to remove redundant semicolons in Xen source code. This patch makes the source code a little more readable. I compiled patched source code and confirmed dom0 can be booted. Signed-off-by: Rikiya Ayukawa <ayukawa.rikiya@xxxxxxxxxxxxxx> Diffstat: tools/debugger/xenitp/ia64-gen.c | 2 +- tools/xenstore/tdb.c | 2 +- xen/arch/ia64/linux-xen/unaligned.c | 2 +- xen/arch/ia64/vmx/vmx_interrupt.c | 2 +- xen/arch/ia64/vmx/vmx_utility.c | 2 +- xen/arch/ia64/xen/privop_stat.c | 2 +- xen/arch/x86/hvm/vmx/vmx.c | 2 +- xen/drivers/passthrough/pci.c | 4 ++-- xen/xsm/acm/acm_ops.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) Best Regards, -- Rikiya Ayukawa diff -r 7397608bce87 tools/debugger/xenitp/ia64-gen.c --- a/tools/debugger/xenitp/ia64-gen.c Mon Jun 29 15:50:32 2009 +0100 +++ b/tools/debugger/xenitp/ia64-gen.c Wed Jul 01 10:15:52 2009 +0900 @@ -569,7 +569,7 @@ ics[ind]->nsubs = 1; ics[ind]->subs = tmalloc(int); - ics[ind]->subs[0] = fetch_insn_class (subname, 1);; + ics[ind]->subs[0] = fetch_insn_class (subname, 1); } while (xsect) diff -r 7397608bce87 tools/xenstore/tdb.c --- a/tools/xenstore/tdb.c Mon Jun 29 15:50:32 2009 +0100 +++ b/tools/xenstore/tdb.c Wed Jul 01 10:15:52 2009 +0900 @@ -1418,7 +1418,7 @@ /* They want us to terminate traversal */ ret = count; if (unlock_record(tdb, tl.off) != 0) { - TDB_LOG((tdb, 0, "tdb_traverse: unlock_record failed!\n"));; + TDB_LOG((tdb, 0, "tdb_traverse: unlock_record failed!\n")); ret = -1; } tdb->travlocks.next = tl.next; diff -r 7397608bce87 xen/arch/ia64/linux-xen/unaligned.c --- a/xen/arch/ia64/linux-xen/unaligned.c Mon Jun 29 15:50:32 2009 +0100 +++ b/xen/arch/ia64/linux-xen/unaligned.c Wed Jul 01 10:15:52 2009 +0900 @@ -1093,7 +1093,7 @@ } else { addr = (unsigned long)regs; #if defined(XEN) - unat = ®s->eml_unat;; + unat = ®s->eml_unat; #else unat = &sw->caller_unat; #endif diff -r 7397608bce87 xen/arch/ia64/vmx/vmx_interrupt.c --- a/xen/arch/ia64/vmx/vmx_interrupt.c Mon Jun 29 15:50:32 2009 +0100 +++ b/xen/arch/ia64/vmx/vmx_interrupt.c Wed Jul 01 10:15:52 2009 +0900 @@ -80,7 +80,7 @@ if ( vdcr & IA64_DCR_PP ) { vpsr.val |= IA64_PSR_PP; } else { - vpsr.val &= ~IA64_PSR_PP;; + vpsr.val &= ~IA64_PSR_PP; } vmx_vcpu_set_psr(vcpu, vpsr.val); diff -r 7397608bce87 xen/arch/ia64/vmx/vmx_utility.c --- a/xen/arch/ia64/vmx/vmx_utility.c Mon Jun 29 15:50:32 2009 +0100 +++ b/xen/arch/ia64/vmx/vmx_utility.c Wed Jul 01 10:15:52 2009 +0900 @@ -619,7 +619,7 @@ sof = regs->cr_ifs & 0x7f; if(reg_index >= sof + 32) return IA64_FAULT; - return IA64_NO_FAULT;; + return IA64_NO_FAULT; } diff -r 7397608bce87 xen/arch/ia64/xen/privop_stat.c --- a/xen/arch/ia64/xen/privop_stat.c Mon Jun 29 15:50:32 2009 +0100 +++ b/xen/arch/ia64/xen/privop_stat.c Wed Jul 01 10:15:52 2009 +0900 @@ -58,7 +58,7 @@ return; } } - v->overflow++;; + v->overflow++; } void gather_privop_addrs(void) diff -r 7397608bce87 xen/arch/x86/hvm/vmx/vmx.c --- a/xen/arch/x86/hvm/vmx/vmx.c Mon Jun 29 15:50:32 2009 +0100 +++ b/xen/arch/x86/hvm/vmx/vmx.c Wed Jul 01 10:15:52 2009 +0900 @@ -2334,7 +2334,7 @@ switch ( exit_reason ) { case EXIT_REASON_EXCEPTION_NMI: - vector = __vmread(VM_EXIT_INTR_INFO) & INTR_INFO_VECTOR_MASK;; + vector = __vmread(VM_EXIT_INTR_INFO) & INTR_INFO_VECTOR_MASK; if ( vector != TRAP_page_fault && vector != TRAP_nmi && vector != TRAP_machine_check ) diff -r 7397608bce87 xen/drivers/passthrough/pci.c --- a/xen/drivers/passthrough/pci.c Mon Jun 29 15:50:32 2009 +0100 +++ b/xen/drivers/passthrough/pci.c Wed Jul 01 10:15:52 2009 +0900 @@ -133,7 +133,7 @@ int pci_remove_device(u8 bus, u8 devfn) { struct pci_dev *pdev; - int ret = -ENODEV;; + int ret = -ENODEV; spin_lock(&pcidevs_lock); list_for_each_entry ( pdev, &alldevs_list, alldevs_list ) @@ -164,7 +164,7 @@ else if (info->is_virtfn) pdev_type = "Virtual Function"; else - return -EINVAL;; + return -EINVAL; ret = -ENOMEM; diff -r 7397608bce87 xen/xsm/acm/acm_ops.c --- a/xen/xsm/acm/acm_ops.c Mon Jun 29 15:50:32 2009 +0100 +++ b/xen/xsm/acm/acm_ops.c Wed Jul 01 10:15:52 2009 +0900 @@ -145,7 +145,7 @@ if (!subj) { rc = -ESRCH; /* domain not found */ - break;; + break; } if (subj->ssid == NULL) { _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |