MIPS: Remove pointless return statement from empty void functions.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 25 Jul 2011 16:26:55 +0000 (17:26 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 25 Jul 2011 16:26:55 +0000 (17:26 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
To: Sergei Shtylyov <sshtylyov@mvista.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2391/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/irq.h
arch/mips/include/asm/mach-generic/dma-coherence.h
arch/mips/include/asm/mach-ip27/dma-coherence.h
arch/mips/include/asm/mach-jazz/dma-coherence.h
arch/mips/include/asm/mach-loongson/dma-coherence.h
arch/mips/include/asm/mach-powertv/dma-coherence.h
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/perf_event.c
arch/mips/loongson/lemote-2f/ec_kb3310b.c
arch/mips/nxp/pnx8550/common/setup.c
arch/mips/pnx8550/common/setup.c

index 0ec0129..2354c87 100644 (file)
@@ -18,7 +18,6 @@
 
 static inline void irq_dispose_mapping(unsigned int virq)
 {
-       return;
 }
 
 #ifdef CONFIG_I8259
index 8da9807..9c95177 100644 (file)
@@ -49,7 +49,6 @@ static inline int plat_dma_supported(struct device *dev, u64 mask)
 
 static inline void plat_extra_sync_for_device(struct device *dev)
 {
-       return;
 }
 
 static inline int plat_dma_mapping_error(struct device *dev,
index 016d098..06c4419 100644 (file)
@@ -60,7 +60,6 @@ static inline int plat_dma_supported(struct device *dev, u64 mask)
 
 static inline void plat_extra_sync_for_device(struct device *dev)
 {
-       return;
 }
 
 static inline int plat_dma_mapping_error(struct device *dev,
index 302101b..9fc1e9a 100644 (file)
@@ -50,7 +50,6 @@ static inline int plat_dma_supported(struct device *dev, u64 mask)
 
 static inline void plat_extra_sync_for_device(struct device *dev)
 {
-       return;
 }
 
 static inline int plat_dma_mapping_error(struct device *dev,
index 981c75f..e143305 100644 (file)
@@ -55,7 +55,6 @@ static inline int plat_dma_supported(struct device *dev, u64 mask)
 
 static inline void plat_extra_sync_for_device(struct device *dev)
 {
-       return;
 }
 
 static inline int plat_dma_mapping_error(struct device *dev,
index a8e72cf..62c0940 100644 (file)
@@ -102,7 +102,6 @@ static inline int plat_dma_supported(struct device *dev, u64 mask)
 
 static inline void plat_extra_sync_for_device(struct device *dev)
 {
-       return;
 }
 
 static inline int plat_dma_mapping_error(struct device *dev,
index bb133d1..ebc0cd2 100644 (file)
@@ -71,7 +71,6 @@ void r4k_wait_irqoff(void)
        local_irq_enable();
        __asm__("       .globl __pastwait       \n"
                "__pastwait:                    \n");
-       return;
 }
 
 /*
index a824485..ff1840f 100644 (file)
@@ -192,8 +192,6 @@ again:
 
        local64_add(delta, &event->count);
        local64_sub(delta, &hwc->period_left);
-
-       return;
 }
 
 static void mipspmu_start(struct perf_event *event, int flags)
index 6405724..2b666d3 100644 (file)
@@ -45,8 +45,6 @@ void ec_write(unsigned short addr, unsigned char val)
        /*  flush the write action */
        inb(EC_IO_PORT_DATA);
        spin_unlock_irqrestore(&index_access_lock, flags);
-
-       return;
 }
 EXPORT_SYMBOL_GPL(ec_write);
 
index 64246c9..71adac3 100644 (file)
@@ -140,6 +140,4 @@ void __init plat_mem_setup(void)
                        PNX8XXX_UART_LCR_8BIT;
                ip3106_baud(UART_BASE, pnx8550_console_port) = 5;
        }
-
-       return;
 }
index 43cb394..fccd6b0 100644 (file)
@@ -139,6 +139,4 @@ void __init plat_mem_setup(void)
                        PNX8XXX_UART_LCR_8BIT;
                ip3106_baud(UART_BASE, pnx8550_console_port) = 5;
        }
-
-       return;
 }