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>
This commit is contained in:
Ralf Baechle 2011-07-25 17:26:55 +01:00
parent 464fd83e84
commit 98f4a2c27c
11 changed files with 0 additions and 15 deletions

View File

@ -18,7 +18,6 @@
static inline void irq_dispose_mapping(unsigned int virq) static inline void irq_dispose_mapping(unsigned int virq)
{ {
return;
} }
#ifdef CONFIG_I8259 #ifdef CONFIG_I8259

View 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) static inline void plat_extra_sync_for_device(struct device *dev)
{ {
return;
} }
static inline int plat_dma_mapping_error(struct device *dev, static inline int plat_dma_mapping_error(struct device *dev,

View 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) static inline void plat_extra_sync_for_device(struct device *dev)
{ {
return;
} }
static inline int plat_dma_mapping_error(struct device *dev, static inline int plat_dma_mapping_error(struct device *dev,

View 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) static inline void plat_extra_sync_for_device(struct device *dev)
{ {
return;
} }
static inline int plat_dma_mapping_error(struct device *dev, static inline int plat_dma_mapping_error(struct device *dev,

View 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) static inline void plat_extra_sync_for_device(struct device *dev)
{ {
return;
} }
static inline int plat_dma_mapping_error(struct device *dev, static inline int plat_dma_mapping_error(struct device *dev,

View 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) static inline void plat_extra_sync_for_device(struct device *dev)
{ {
return;
} }
static inline int plat_dma_mapping_error(struct device *dev, static inline int plat_dma_mapping_error(struct device *dev,

View File

@ -71,7 +71,6 @@ void r4k_wait_irqoff(void)
local_irq_enable(); local_irq_enable();
__asm__(" .globl __pastwait \n" __asm__(" .globl __pastwait \n"
"__pastwait: \n"); "__pastwait: \n");
return;
} }
/* /*

View File

@ -192,8 +192,6 @@ again:
local64_add(delta, &event->count); local64_add(delta, &event->count);
local64_sub(delta, &hwc->period_left); local64_sub(delta, &hwc->period_left);
return;
} }
static void mipspmu_start(struct perf_event *event, int flags) static void mipspmu_start(struct perf_event *event, int flags)

View File

@ -45,8 +45,6 @@ void ec_write(unsigned short addr, unsigned char val)
/* flush the write action */ /* flush the write action */
inb(EC_IO_PORT_DATA); inb(EC_IO_PORT_DATA);
spin_unlock_irqrestore(&index_access_lock, flags); spin_unlock_irqrestore(&index_access_lock, flags);
return;
} }
EXPORT_SYMBOL_GPL(ec_write); EXPORT_SYMBOL_GPL(ec_write);

View File

@ -140,6 +140,4 @@ void __init plat_mem_setup(void)
PNX8XXX_UART_LCR_8BIT; PNX8XXX_UART_LCR_8BIT;
ip3106_baud(UART_BASE, pnx8550_console_port) = 5; ip3106_baud(UART_BASE, pnx8550_console_port) = 5;
} }
return;
} }

View File

@ -139,6 +139,4 @@ void __init plat_mem_setup(void)
PNX8XXX_UART_LCR_8BIT; PNX8XXX_UART_LCR_8BIT;
ip3106_baud(UART_BASE, pnx8550_console_port) = 5; ip3106_baud(UART_BASE, pnx8550_console_port) = 5;
} }
return;
} }