]> git.neil.brown.name Git - history.git/commitdiff
Don't return void types from void functions.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 25 May 2004 15:21:34 +0000 (08:21 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 25 May 2004 15:21:34 +0000 (08:21 -0700)
This helps reduce sparse noise.

drivers/net/tokenring/olympic.c
include/asm-ppc64/eeh.h

index d469a96b00e25263311fc039dfe69f72200a0f41..e8ff967b6d433d790691eafa5ee3ff89a996e2f1 100644 (file)
@@ -1806,7 +1806,7 @@ static int __init olympic_pci_init(void)
 
 static void __exit olympic_pci_cleanup(void)
 {
-       return pci_unregister_driver(&olympic_driver) ; 
+       pci_unregister_driver(&olympic_driver) ; 
 }      
 
 
index 4ccf43666ee5e070e4da90541bf002b3dd1ba830..a8ee7d16564bbe9e8179a497b72f4c4ff5703826 100644 (file)
@@ -215,7 +215,7 @@ static inline u8 eeh_inb(unsigned long port) {
 
 static inline void eeh_outb(u8 val, unsigned long port) {
        if (_IO_IS_VALID(port))
-               return out_8((u8 *)(port+pci_io_base), val);
+               out_8((u8 *)(port+pci_io_base), val);
 }
 
 static inline u16 eeh_inw(unsigned long port) {
@@ -230,7 +230,7 @@ static inline u16 eeh_inw(unsigned long port) {
 
 static inline void eeh_outw(u16 val, unsigned long port) {
        if (_IO_IS_VALID(port))
-               return out_le16((u16 *)(port+pci_io_base), val);
+               out_le16((u16 *)(port+pci_io_base), val);
 }
 
 static inline u32 eeh_inl(unsigned long port) {
@@ -245,7 +245,7 @@ static inline u32 eeh_inl(unsigned long port) {
 
 static inline void eeh_outl(u32 val, unsigned long port) {
        if (_IO_IS_VALID(port))
-               return out_le32((u32 *)(port+pci_io_base), val);
+               out_le32((u32 *)(port+pci_io_base), val);
 }
 
 /* in-string eeh macros */