Commit d824e08a authored by Linus Torvalds's avatar Linus Torvalds

Don't return void types from void functions.

This helps reduce sparse noise.
parent a9c2138d
......@@ -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) ;
}
......
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment