Remove unnecessary trailing newlines

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6000 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/.gitignore b/.gitignore
index 6fd7b96..5bacb37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,4 +28,3 @@
 *.tp
 *.vr
 *.d
-
diff --git a/a.out.h b/a.out.h
index 2d35ebf..dfc104e 100644
--- a/a.out.h
+++ b/a.out.h
@@ -428,4 +428,3 @@
 #endif
 
 #endif /* _A_OUT_H_ */
-
diff --git a/block-cloop.c b/block-cloop.c
index 43d3801..ad0e65d 100644
--- a/block-cloop.c
+++ b/block-cloop.c
@@ -165,5 +165,3 @@
     NULL,
     cloop_close,
 };
-
-
diff --git a/block-dmg.c b/block-dmg.c
index 8c9d0da..4320c5d 100644
--- a/block-dmg.c
+++ b/block-dmg.c
@@ -294,4 +294,3 @@
     NULL,
     dmg_close,
 };
-
diff --git a/block-vvfat.c b/block-vvfat.c
index b8fa729..57763b3 100644
--- a/block-vvfat.c
+++ b/block-vvfat.c
@@ -2848,4 +2848,3 @@
     print_direntry(NULL);
 }
 #endif
-
diff --git a/buffered_file.c b/buffered_file.c
index 1d72b46..be5baea 100644
--- a/buffered_file.c
+++ b/buffered_file.c
@@ -247,4 +247,3 @@
 
     return s->file;
 }
-
diff --git a/darwin-user/mmap.c b/darwin-user/mmap.c
index b4055ab..bb7d7e6 100644
--- a/darwin-user/mmap.c
+++ b/darwin-user/mmap.c
@@ -408,4 +408,3 @@
     start &= qemu_host_page_mask;
     return msync((void *)start, end - start, flags);
 }
-
diff --git a/darwin-user/signal.c b/darwin-user/signal.c
index aeb8a62..f412b36 100644
--- a/darwin-user/signal.c
+++ b/darwin-user/signal.c
@@ -455,5 +455,3 @@
     if (q != &k->info)
         free_sigqueue(q);
 }
-
-
diff --git a/def-helper.h b/def-helper.h
index 98a5f68..d57ea4d 100644
--- a/def-helper.h
+++ b/def-helper.h
@@ -218,4 +218,3 @@
 #undef GEN_HELPER
 
 #endif
-
diff --git a/fpu/softfloat-macros.h b/fpu/softfloat-macros.h
index 2c8f18b..0502fb8 100644
--- a/fpu/softfloat-macros.h
+++ b/fpu/softfloat-macros.h
@@ -717,4 +717,3 @@
     return ( a0 != b0 ) || ( a1 != b1 );
 
 }
-
diff --git a/gen-icount.h b/gen-icount.h
index d53159c..d4524d6 100644
--- a/gen-icount.h
+++ b/gen-icount.h
@@ -53,4 +53,3 @@
     tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io));
     tcg_temp_free_i32(tmp);
 }
-
diff --git a/hw/apb_pci.c b/hw/apb_pci.c
index b56bb07..d847888 100644
--- a/hw/apb_pci.c
+++ b/hw/apb_pci.c
@@ -261,5 +261,3 @@
                     "Advanced PCI Bus secondary bridge 2");
     return secondary;
 }
-
-
diff --git a/hw/arm-misc.h b/hw/arm-misc.h
index a147254..a699197 100644
--- a/hw/arm-misc.h
+++ b/hw/arm-misc.h
@@ -44,4 +44,3 @@
 void stellaris_enet_init(NICInfo *nd, uint32_t base, qemu_irq irq);
 
 #endif /* !ARM_MISC_H */
-
diff --git a/hw/arm_sysctl.c b/hw/arm_sysctl.c
index ab22e84..ca668ca 100644
--- a/hw/arm_sysctl.c
+++ b/hw/arm_sysctl.c
@@ -205,4 +205,3 @@
     cpu_register_physical_memory(base, 0x00001000, iomemtype);
     /* ??? Save/restore.  */
 }
-
diff --git a/hw/arm_timer.c b/hw/arm_timer.c
index 3ffe996..c93f333 100644
--- a/hw/arm_timer.c
+++ b/hw/arm_timer.c
@@ -340,4 +340,3 @@
     /* This device has no state to save/restore.  The component timers will
        save themselves.  */
 }
-
diff --git a/hw/armv7m.c b/hw/armv7m.c
index 096193d..71bbd95 100644
--- a/hw/armv7m.c
+++ b/hw/armv7m.c
@@ -207,4 +207,3 @@
 
     return pic;
 }
-
diff --git a/hw/cdrom.c b/hw/cdrom.c
index 2aa4d3b..87427a5 100644
--- a/hw/cdrom.c
+++ b/hw/cdrom.c
@@ -153,5 +153,3 @@
     cpu_to_be16wu((uint16_t *)buf, len - 2);
     return len;
 }
-
-
diff --git a/hw/grackle_pci.c b/hw/grackle_pci.c
index 91d4261..c6aee94 100644
--- a/hw/grackle_pci.c
+++ b/hw/grackle_pci.c
@@ -146,4 +146,3 @@
 #endif
     return s->bus;
 }
-
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 78a23a5..81d5672 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -2005,4 +2005,3 @@
 
     return s;
 }
-
diff --git a/hw/mac_dbdma.c b/hw/mac_dbdma.c
index 74003e6..401384c 100644
--- a/hw/mac_dbdma.c
+++ b/hw/mac_dbdma.c
@@ -76,4 +76,3 @@
 {
     *dbdma_mem_index = cpu_register_io_memory(0, dbdma_read, dbdma_write, NULL);
 }
-
diff --git a/hw/mcf5206.c b/hw/mcf5206.c
index 449ca12..ee41a61 100644
--- a/hw/mcf5206.c
+++ b/hw/mcf5206.c
@@ -540,4 +540,3 @@
     m5206_mbar_reset(s);
     return pic;
 }
-
diff --git a/hw/pci_host.h b/hw/pci_host.h
index 49a0c59..e2e428a 100644
--- a/hw/pci_host.h
+++ b/hw/pci_host.h
@@ -90,4 +90,3 @@
 #endif
     return val;
 }
-
diff --git a/hw/pcmcia.h b/hw/pcmcia.h
index bfa23ba..8f8366c 100644
--- a/hw/pcmcia.h
+++ b/hw/pcmcia.h
@@ -47,4 +47,3 @@
 
 /* dscm1xxxx.c */
 struct pcmcia_card_s *dscm1xxxx_init(BlockDriverState *bdrv);
-
diff --git a/hw/pl011.c b/hw/pl011.c
index dd6994c..468d48a 100644
--- a/hw/pl011.c
+++ b/hw/pl011.c
@@ -309,4 +309,3 @@
     }
     register_savevm("pl011_uart", -1, 1, pl011_save, pl011_load, s);
 }
-
diff --git a/hw/pl022.c b/hw/pl022.c
index ee166ff..90f4f0f 100644
--- a/hw/pl022.c
+++ b/hw/pl022.c
@@ -306,5 +306,3 @@
     pl022_reset(s);
     register_savevm("pl022_ssp", -1, 1, pl022_save, pl022_load, s);
 }
-
-
diff --git a/hw/pl050.c b/hw/pl050.c
index e74a6dc..0ab60bf 100644
--- a/hw/pl050.c
+++ b/hw/pl050.c
@@ -139,4 +139,3 @@
         s->dev = ps2_kbd_init(pl050_update, s);
     /* ??? Save/restore.  */
 }
-
diff --git a/hw/pl061.c b/hw/pl061.c
index a4d59c7..fab99d4 100644
--- a/hw/pl061.c
+++ b/hw/pl061.c
@@ -311,4 +311,3 @@
     register_savevm("pl061_gpio", -1, 1, pl061_save, pl061_load, s);
     return qemu_allocate_irqs(pl061_set_irq, s, 8);
 }
-
diff --git a/hw/pl080.c b/hw/pl080.c
index 1be3035..e4d7e17 100644
--- a/hw/pl080.c
+++ b/hw/pl080.c
@@ -336,4 +336,3 @@
     /* ??? Save/restore.  */
     return s;
 }
-
diff --git a/hw/prep_pci.c b/hw/prep_pci.c
index 815db53..dd53f87 100644
--- a/hw/prep_pci.c
+++ b/hw/prep_pci.c
@@ -169,4 +169,3 @@
 
     return s->bus;
 }
-
diff --git a/hw/ps2.h b/hw/ps2.h
index f2c091e..32a4231 100644
--- a/hw/ps2.h
+++ b/hw/ps2.h
@@ -7,4 +7,3 @@
 void ps2_queue(void *, int b);
 void ps2_keyboard_set_translation(void *opaque, int mode);
 void ps2_mouse_fake_event(void *opaque);
-
diff --git a/hw/ptimer.c b/hw/ptimer.c
index b772ca2..9d38627 100644
--- a/hw/ptimer.c
+++ b/hw/ptimer.c
@@ -192,4 +192,3 @@
     s->timer = qemu_new_timer(vm_clock, ptimer_tick, s);
     return s;
 }
-
diff --git a/hw/rtl8139.c b/hw/rtl8139.c
index feffa9c..c3ab854 100644
--- a/hw/rtl8139.c
+++ b/hw/rtl8139.c
@@ -3463,4 +3463,3 @@
         rtl8139_get_next_tctr_time(s,qemu_get_clock(vm_clock)));
 #endif /* RTL8139_ONBOARD_TIMER */
 }
-
diff --git a/hw/sh7750.c b/hw/sh7750.c
index af86f0e..4d1a806 100644
--- a/hw/sh7750.c
+++ b/hw/sh7750.c
@@ -778,4 +778,3 @@
     return qemu_allocate_irqs(sh_intc_set_irl, sh_intc_source(&s->intc, IRL),
                                1)[0];
 }
-
diff --git a/hw/sh_pci.c b/hw/sh_pci.c
index f24d32a..5524c59 100644
--- a/hw/sh_pci.c
+++ b/hw/sh_pci.c
@@ -202,4 +202,3 @@
 
     return p->bus;
 }
-
diff --git a/hw/slavio_intctl.c b/hw/slavio_intctl.c
index 4e08c6a..0729c2a 100644
--- a/hw/slavio_intctl.c
+++ b/hw/slavio_intctl.c
@@ -421,4 +421,3 @@
     slavio_intctl_reset(s);
     return s;
 }
-
diff --git a/hw/sm501_template.h b/hw/sm501_template.h
index c96ac25..1679df7 100644
--- a/hw/sm501_template.h
+++ b/hw/sm501_template.h
@@ -101,4 +101,3 @@
 #undef PIXEL_TYPE
 #undef PIXEL_NAME
 #undef BGR_FORMAT
-
diff --git a/hw/smbus.h b/hw/smbus.h
index b6b0662..640377b 100644
--- a/hw/smbus.h
+++ b/hw/smbus.h
@@ -67,4 +67,3 @@
 
 /* smbus_eeprom.c */
 void smbus_eeprom_device_init(i2c_bus *bus, uint8_t addr, uint8_t *buf);
-
diff --git a/hw/ssi-sd.c b/hw/ssi-sd.c
index 1c57f1f..ffb9c4c 100644
--- a/hw/ssi-sd.c
+++ b/hw/ssi-sd.c
@@ -237,4 +237,3 @@
     register_savevm("ssi_sd", -1, 1, ssi_sd_save, ssi_sd_load, s);
     return s;
 }
-
diff --git a/hw/stellaris_input.c b/hw/stellaris_input.c
index aef4ce0..33395a4 100644
--- a/hw/stellaris_input.c
+++ b/hw/stellaris_input.c
@@ -89,5 +89,3 @@
     register_savevm("stellaris_gamepad", -1, 1,
                     stellaris_gamepad_save, stellaris_gamepad_load, s);
 }
-
-
diff --git a/hw/sun4c_intctl.c b/hw/sun4c_intctl.c
index c8c40c9..dd42777 100644
--- a/hw/sun4c_intctl.c
+++ b/hw/sun4c_intctl.c
@@ -221,4 +221,3 @@
     sun4c_intctl_reset(s);
     return s;
 }
-
diff --git a/hw/sun4m.c b/hw/sun4m.c
index 2035b6c..4028ff2 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -1646,4 +1646,3 @@
     .nodisk_ok = 1,
     .use_scsi = 1,
 };
-
diff --git a/hw/tc6393xb_template.h b/hw/tc6393xb_template.h
index 587382e..c0c4cde 100644
--- a/hw/tc6393xb_template.h
+++ b/hw/tc6393xb_template.h
@@ -69,4 +69,3 @@
 
 #undef BITS
 #undef SET_PIXEL
-
diff --git a/hw/unin_pci.c b/hw/unin_pci.c
index 60fdea8..a835e17 100644
--- a/hw/unin_pci.c
+++ b/hw/unin_pci.c
@@ -268,4 +268,3 @@
 #endif
     return s->bus;
 }
-
diff --git a/hw/versatile_pci.c b/hw/versatile_pci.c
index 67cee88..1f4c1f3 100644
--- a/hw/versatile_pci.c
+++ b/hw/versatile_pci.c
@@ -141,4 +141,3 @@
 
     return s;
 }
-
diff --git a/hw/vmmouse.c b/hw/vmmouse.c
index 0a93b15..5249393 100644
--- a/hw/vmmouse.c
+++ b/hw/vmmouse.c
@@ -288,4 +288,3 @@
 
     return s;
 }
-
diff --git a/keymaps/et b/keymaps/et
index 3252e31..85541a3 100644
--- a/keymaps/et
+++ b/keymaps/et
@@ -83,4 +83,3 @@
 colon 0x34 shift
 minus 0x35
 underscore 0x35 shift
-
diff --git a/keymaps/fo b/keymaps/fo
index 83add42..c00d9d4 100644
--- a/keymaps/fo
+++ b/keymaps/fo
@@ -74,4 +74,3 @@
 colon 0x34 shift
 minus 0x35
 underscore 0x35 shift
-
diff --git a/keymaps/is b/keymaps/is
index d512cf6..21dc1fd 100644
--- a/keymaps/is
+++ b/keymaps/is
@@ -137,4 +137,3 @@
 THORN 0x35 shift
 dead_belowdot 0x35 altgr
 dead_abovedot 0x35 shift altgr
-
diff --git a/keymaps/nl b/keymaps/nl
index 4f0fe3d..b4892f9 100644
--- a/keymaps/nl
+++ b/keymaps/nl
@@ -57,4 +57,3 @@
 bracketright 0x56
 bracketleft 0x56 shift
 brokenbar 0x56 altgr
-
diff --git a/keymaps/sv b/keymaps/sv
index 9905a48..5d9080e 100644
--- a/keymaps/sv
+++ b/keymaps/sv
@@ -79,4 +79,3 @@
 colon 0x34 shift
 minus 0x35
 underscore 0x35 shift
-
diff --git a/linux-user/alpha/termbits.h b/linux-user/alpha/termbits.h
index 6858711..6406b6a 100644
--- a/linux-user/alpha/termbits.h
+++ b/linux-user/alpha/termbits.h
@@ -262,4 +262,3 @@
 #define TARGET_TIOCGICOUNT	0x545D	/* read serial port inline interrupt counts */
 #define TARGET_TIOCGHAYESESP	0x545E  /* Get Hayes ESP configuration */
 #define TARGET_TIOCSHAYESESP	0x545F  /* Set Hayes ESP configuration */
-
diff --git a/linux-user/arm/nwfpe/fpa11.c b/linux-user/arm/nwfpe/fpa11.c
index beed968..eb006f0 100644
--- a/linux-user/arm/nwfpe/fpa11.c
+++ b/linux-user/arm/nwfpe/fpa11.c
@@ -241,4 +241,3 @@
   }
 }
 #endif
-
diff --git a/linux-user/arm/termbits.h b/linux-user/arm/termbits.h
index f018c07..7772df1 100644
--- a/linux-user/arm/termbits.h
+++ b/linux-user/arm/termbits.h
@@ -214,4 +214,3 @@
 #define TARGET_TIOCPKT_DOSTOP		32
 
 #define TARGET_TIOCSER_TEMT    0x01	/* Transmitter physically empty */
-
diff --git a/linux-user/cris/syscall.h b/linux-user/cris/syscall.h
index 8fa7474..24f92ba 100644
--- a/linux-user/cris/syscall.h
+++ b/linux-user/cris/syscall.h
@@ -34,4 +34,3 @@
         unsigned long exs;
         unsigned long eda;
 };
-
diff --git a/linux-user/cris/termbits.h b/linux-user/cris/termbits.h
index adff802..fc82ca0 100644
--- a/linux-user/cris/termbits.h
+++ b/linux-user/cris/termbits.h
@@ -211,4 +211,3 @@
 #define TARGET_TIOCPKT_DOSTOP		32
 
 #define TARGET_TIOCSER_TEMT    0x01	/* Transmitter physically empty */
-
diff --git a/linux-user/errno_defs.h b/linux-user/errno_defs.h
index 209c187..8a1cf76 100644
--- a/linux-user/errno_defs.h
+++ b/linux-user/errno_defs.h
@@ -139,4 +139,3 @@
 /* for robust mutexes */
 #define TARGET_EOWNERDEAD      130     /* Owner died */
 #define TARGET_ENOTRECOVERABLE 131     /* State not recoverable */
-
diff --git a/linux-user/i386/termbits.h b/linux-user/i386/termbits.h
index 4acd2bd..e051a3a 100644
--- a/linux-user/i386/termbits.h
+++ b/linux-user/i386/termbits.h
@@ -224,4 +224,3 @@
 #define TARGET_TIOCPKT_DOSTOP		32
 
 #define TARGET_TIOCSER_TEMT    0x01	/* Transmitter physically empty */
-
diff --git a/linux-user/m68k/termbits.h b/linux-user/m68k/termbits.h
index 1bce39d..f7982fb 100644
--- a/linux-user/m68k/termbits.h
+++ b/linux-user/m68k/termbits.h
@@ -225,4 +225,3 @@
 #define TARGET_TIOCPKT_DOSTOP		32
 
 #define TARGET_TIOCSER_TEMT    0x01	/* Transmitter physically empty */
-
diff --git a/linux-user/ppc/termbits.h b/linux-user/ppc/termbits.h
index 002de95..73e7151 100644
--- a/linux-user/ppc/termbits.h
+++ b/linux-user/ppc/termbits.h
@@ -234,4 +234,3 @@
 
 #define TARGET_TIOCMIWAIT	0x545C	/* wait for a change on serial input line(s) */
 #define TARGET_TIOCGICOUNT	0x545D	/* read serial port inline interrupt counts */
-
diff --git a/linux-user/sparc/termbits.h b/linux-user/sparc/termbits.h
index ed9ab24..691600d 100644
--- a/linux-user/sparc/termbits.h
+++ b/linux-user/sparc/termbits.h
@@ -277,4 +277,3 @@
 #define TARGET_TIOCSERSETMULTI 0x545B /* Set multiport config */
 #define TARGET_TIOCMIWAIT	0x545C /* Wait input */
 #define TARGET_TIOCGICOUNT	0x545D /* Read serial port inline interrupt counts */
-
diff --git a/linux-user/sparc64/termbits.h b/linux-user/sparc64/termbits.h
index ed9ab24..691600d 100644
--- a/linux-user/sparc64/termbits.h
+++ b/linux-user/sparc64/termbits.h
@@ -277,4 +277,3 @@
 #define TARGET_TIOCSERSETMULTI 0x545B /* Set multiport config */
 #define TARGET_TIOCMIWAIT	0x545C /* Wait input */
 #define TARGET_TIOCGICOUNT	0x545D /* Read serial port inline interrupt counts */
-
diff --git a/linux-user/strace.c b/linux-user/strace.c
index fca2f39..116726c 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -314,4 +314,3 @@
             break;
         }
 }
-
diff --git a/linux-user/vm86.c b/linux-user/vm86.c
index d87174b..c933038 100644
--- a/linux-user/vm86.c
+++ b/linux-user/vm86.c
@@ -485,4 +485,3 @@
  out:
     return ret;
 }
-
diff --git a/migration.h b/migration.h
index 953ec70..d9771ad 100644
--- a/migration.h
+++ b/migration.h
@@ -95,4 +95,3 @@
 }
 
 #endif
-
diff --git a/pc-bios/Makefile b/pc-bios/Makefile
index c817e85..d9f434a 100644
--- a/pc-bios/Makefile
+++ b/pc-bios/Makefile
@@ -14,4 +14,3 @@
 
 clean:
 	rm -f $(TARGETS) *.o *~
-
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index 232b511..92ec234 100644
--- a/posix-aio-compat.c
+++ b/posix-aio-compat.c
@@ -199,4 +199,3 @@
 
     return ret;
 }
-
diff --git a/readline.c b/readline.c
index e1e963a..7bf9a5e 100644
--- a/readline.c
+++ b/readline.c
@@ -484,5 +484,3 @@
         return NULL;
     return term_history[index];
 }
-
-
diff --git a/s390-dis.c b/s390-dis.c
index a447a19..fa24792 100644
--- a/s390-dis.c
+++ b/s390-dis.c
@@ -1708,4 +1708,3 @@
 
 const int s390_num_opcodes =
   sizeof (s390_opcodes) / sizeof (s390_opcodes[0]);
-
diff --git a/s390.ld b/s390.ld
index 7f14ea9..ccae2e7 100644
--- a/s390.ld
+++ b/s390.ld
@@ -201,4 +201,3 @@
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
 }
-
diff --git a/slirp/debug.h b/slirp/debug.h
index 8a523b2..c43eff7 100644
--- a/slirp/debug.h
+++ b/slirp/debug.h
@@ -37,4 +37,3 @@
 #endif
 
 void debug_init _P((char *, int));
-
diff --git a/slirp/mbuf.c b/slirp/mbuf.c
index 1f3985a..655de41 100644
--- a/slirp/mbuf.c
+++ b/slirp/mbuf.c
@@ -234,4 +234,3 @@
 
 	return (struct mbuf *)0;
 }
-
diff --git a/slirp/sbuf.c b/slirp/sbuf.c
index 02c5fce..b0e0838 100644
--- a/slirp/sbuf.c
+++ b/slirp/sbuf.c
@@ -198,4 +198,3 @@
 		   memcpy(to+off,sb->sb_data,len);
 	}
 }
-
diff --git a/slirp/socket.c b/slirp/socket.c
index 75f98fd..00694e2 100644
--- a/slirp/socket.c
+++ b/slirp/socket.c
@@ -723,4 +723,3 @@
 	else
 		sofcantsendmore(so);
 }
-
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index cc94807..5a8955d 100644
--- a/target-alpha/helper.c
+++ b/target-alpha/helper.c
@@ -436,4 +436,3 @@
     }
     cpu_fprintf(f, "\nlock     " TARGET_FMT_lx "\n", env->lock);
 }
-
diff --git a/target-arm/machine.c b/target-arm/machine.c
index 42ff584..f8be7a1 100644
--- a/target-arm/machine.c
+++ b/target-arm/machine.c
@@ -211,5 +211,3 @@
 
     return 0;
 }
-
-
diff --git a/target-m68k/m68k-qreg.h b/target-m68k/m68k-qreg.h
index 34bcb02..c224d5e 100644
--- a/target-m68k/m68k-qreg.h
+++ b/target-m68k/m68k-qreg.h
@@ -9,4 +9,3 @@
 #undef DEFR
 #undef DEFF64
 };
-
diff --git a/target-m68k/op_helper.c b/target-m68k/op_helper.c
index aa36a33..c198e85 100644
--- a/target-m68k/op_helper.c
+++ b/target-m68k/op_helper.c
@@ -224,4 +224,3 @@
     env->div2 = rem;
     env->cc_dest = flags;
 }
-
diff --git a/target-mips/machine.c b/target-mips/machine.c
index f73b9e2..15ce73c 100644
--- a/target-mips/machine.c
+++ b/target-mips/machine.c
@@ -18,5 +18,3 @@
 {
     return 0;
 }
-
-
diff --git a/target-sparc/TODO b/target-sparc/TODO
index 62b0f47..c87459f 100644
--- a/target-sparc/TODO
+++ b/target-sparc/TODO
@@ -86,4 +86,3 @@
 Sun4v:
 - A lot of unimplemented features
  - A lot of real machine types
-
diff --git a/target-sparc/machine.c b/target-sparc/machine.c
index 417523f..e845fac 100644
--- a/target-sparc/machine.c
+++ b/target-sparc/machine.c
@@ -220,5 +220,3 @@
     tlb_flush(env, 1);
     return 0;
 }
-
-
diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h
index a0eaa81..5432ac1 100644
--- a/tcg/tcg-op.h
+++ b/tcg/tcg-op.h
@@ -2054,4 +2054,3 @@
 #define tcg_gen_addi_ptr tcg_gen_addi_i64
 #define tcg_gen_ext_i32_ptr tcg_gen_ext_i32_i64
 #endif /* TCG_TARGET_REG_BITS != 32 */
-
diff --git a/tcg/tcg-runtime.c b/tcg/tcg-runtime.c
index c4dad26..1d77c37 100644
--- a/tcg/tcg-runtime.c
+++ b/tcg/tcg-runtime.c
@@ -66,4 +66,3 @@
 {
     return arg1 % arg2;
 }
-
diff --git a/tests/cris/.gdbinit b/tests/cris/.gdbinit
index 579eac9..5e8c1d3 100644
--- a/tests/cris/.gdbinit
+++ b/tests/cris/.gdbinit
@@ -9,4 +9,3 @@
 display /x $r3
 display /x $r4
 display /t $ccs
-
diff --git a/tests/cris/README b/tests/cris/README
index 93c955c..2e65a76 100644
--- a/tests/cris/README
+++ b/tests/cris/README
@@ -1,2 +1 @@
 Test-suite for the cris port. Heavily based on the test-suite for the CRIS port of sim by Hans-Peter Nilsson.
-
diff --git a/tests/cris/check_movemr.s b/tests/cris/check_movemr.s
index 776da76..88489de 100644
--- a/tests/cris/check_movemr.s
+++ b/tests/cris/check_movemr.s
@@ -76,4 +76,3 @@
  checkr3 6712
 
  quit
-
diff --git a/tests/cris/check_movemrv32.s b/tests/cris/check_movemrv32.s
index dc340af..53950ab 100644
--- a/tests/cris/check_movemrv32.s
+++ b/tests/cris/check_movemrv32.s
@@ -94,4 +94,3 @@
  checkr3 d
 
  quit
-
diff --git a/tests/cris/check_mover.s b/tests/cris/check_mover.s
index c93106f..b4db595 100644
--- a/tests/cris/check_mover.s
+++ b/tests/cris/check_mover.s
@@ -26,4 +26,3 @@
  checkr3 ffffff00
 
  quit
-
diff --git a/tests/cris/check_stat3.c b/tests/cris/check_stat3.c
index a248ec0..3b5b217 100644
--- a/tests/cris/check_stat3.c
+++ b/tests/cris/check_stat3.c
@@ -23,4 +23,3 @@
   printf ("pass\n");
   exit (0);
 }
-
diff --git a/tests/cris/check_stat4.c b/tests/cris/check_stat4.c
index d10655d..e1955ca 100644
--- a/tests/cris/check_stat4.c
+++ b/tests/cris/check_stat4.c
@@ -25,4 +25,3 @@
   printf ("pass\n");
   exit (0);
 }
-
diff --git a/tests/sha1.c b/tests/sha1.c
index 31b0019..2557344 100644
--- a/tests/sha1.c
+++ b/tests/sha1.c
@@ -238,5 +238,3 @@
     printf("\n");
     return 0;
 }
-
-
diff --git a/tests/test-i386-shift.h b/tests/test-i386-shift.h
index 2bd6a4a..3d8f84b 100644
--- a/tests/test-i386-shift.h
+++ b/tests/test-i386-shift.h
@@ -183,4 +183,3 @@
 #undef OP_SHIFTD
 #undef OP_NOBYTE
 #undef EXECSHIFT
-
diff --git a/tests/test_path.c b/tests/test_path.c
index 7d6e831..def7441 100644
--- a/tests/test_path.c
+++ b/tests/test_path.c
@@ -149,4 +149,3 @@
     }
     return 0;
 }
-