Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Remove pointless return statement from empty void functions.

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>

-15
-1
arch/mips/include/asm/irq.h
··· 18 18 19 19 static inline void irq_dispose_mapping(unsigned int virq) 20 20 { 21 - return; 22 21 } 23 22 24 23 #ifdef CONFIG_I8259
-1
arch/mips/include/asm/mach-generic/dma-coherence.h
··· 49 49 50 50 static inline void plat_extra_sync_for_device(struct device *dev) 51 51 { 52 - return; 53 52 } 54 53 55 54 static inline int plat_dma_mapping_error(struct device *dev,
-1
arch/mips/include/asm/mach-ip27/dma-coherence.h
··· 60 60 61 61 static inline void plat_extra_sync_for_device(struct device *dev) 62 62 { 63 - return; 64 63 } 65 64 66 65 static inline int plat_dma_mapping_error(struct device *dev,
-1
arch/mips/include/asm/mach-jazz/dma-coherence.h
··· 50 50 51 51 static inline void plat_extra_sync_for_device(struct device *dev) 52 52 { 53 - return; 54 53 } 55 54 56 55 static inline int plat_dma_mapping_error(struct device *dev,
-1
arch/mips/include/asm/mach-loongson/dma-coherence.h
··· 55 55 56 56 static inline void plat_extra_sync_for_device(struct device *dev) 57 57 { 58 - return; 59 58 } 60 59 61 60 static inline int plat_dma_mapping_error(struct device *dev,
-1
arch/mips/include/asm/mach-powertv/dma-coherence.h
··· 102 102 103 103 static inline void plat_extra_sync_for_device(struct device *dev) 104 104 { 105 - return; 106 105 } 107 106 108 107 static inline int plat_dma_mapping_error(struct device *dev,
-1
arch/mips/kernel/cpu-probe.c
··· 71 71 local_irq_enable(); 72 72 __asm__(" .globl __pastwait \n" 73 73 "__pastwait: \n"); 74 - return; 75 74 } 76 75 77 76 /*
-2
arch/mips/kernel/perf_event.c
··· 192 192 193 193 local64_add(delta, &event->count); 194 194 local64_sub(delta, &hwc->period_left); 195 - 196 - return; 197 195 } 198 196 199 197 static void mipspmu_start(struct perf_event *event, int flags)
-2
arch/mips/loongson/lemote-2f/ec_kb3310b.c
··· 45 45 /* flush the write action */ 46 46 inb(EC_IO_PORT_DATA); 47 47 spin_unlock_irqrestore(&index_access_lock, flags); 48 - 49 - return; 50 48 } 51 49 EXPORT_SYMBOL_GPL(ec_write); 52 50
-2
arch/mips/nxp/pnx8550/common/setup.c
··· 140 140 PNX8XXX_UART_LCR_8BIT; 141 141 ip3106_baud(UART_BASE, pnx8550_console_port) = 5; 142 142 } 143 - 144 - return; 145 143 }
-2
arch/mips/pnx8550/common/setup.c
··· 139 139 PNX8XXX_UART_LCR_8BIT; 140 140 ip3106_baud(UART_BASE, pnx8550_console_port) = 5; 141 141 } 142 - 143 - return; 144 142 }