Remove redundant semicolons
PATCH 1/1 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 <[email protected]>
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
tools/debugger/xenitp/ia64-gen.c +1 -1
@@ -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)
tools/xenstore/tdb.c +1 -1
@@ -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;
xen/arch/ia64/linux-xen/unaligned.c +1 -1
@@ -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
xen/arch/ia64/vmx/vmx_interrupt.c +1 -1
@@ -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);
xen/arch/ia64/vmx/vmx_utility.c +1 -1
@@ -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 ; }
xen/arch/ia64/xen/privop_stat.c +1 -1
@@ -58,7 +58,7 @@return ; } } - v->overflow++;; + v->overflow++; }void gather_privop_addrs (void )
xen/arch/x86/hvm/vmx/vmx.c +1 -1
@@ -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 )
xen/drivers/passthrough/pci.c +2 -2
@@ -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 ;
xen/xsm/acm/acm_ops.c +1 -1
@@ -145,7 +145,7 @@if (!subj) { rc = -ESRCH ;/* domain not found */ -break ;; +break ; }if (subj->ssid ==NULL ) {
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel