mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
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:
parent
464fd83e84
commit
98f4a2c27c
@ -18,7 +18,6 @@
|
||||
|
||||
static inline void irq_dispose_mapping(unsigned int virq)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_I8259
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -71,7 +71,6 @@ void r4k_wait_irqoff(void)
|
||||
local_irq_enable();
|
||||
__asm__(" .globl __pastwait \n"
|
||||
"__pastwait: \n");
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
||||
|
@ -140,6 +140,4 @@ void __init plat_mem_setup(void)
|
||||
PNX8XXX_UART_LCR_8BIT;
|
||||
ip3106_baud(UART_BASE, pnx8550_console_port) = 5;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -139,6 +139,4 @@ void __init plat_mem_setup(void)
|
||||
PNX8XXX_UART_LCR_8BIT;
|
||||
ip3106_baud(UART_BASE, pnx8550_console_port) = 5;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user