Skip to content

Commit

Permalink
MIPS: Remove pointless return statement from empty void functions.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <[email protected]>
To: Sergei Shtylyov <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/2391/
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Jul 25, 2011
1 parent 464fd83 commit 98f4a2c
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion arch/mips/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

static inline void irq_dispose_mapping(unsigned int virq)
{
return;
}

#ifdef CONFIG_I8259
Expand Down
1 change: 0 additions & 1 deletion arch/mips/include/asm/mach-generic/dma-coherence.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion arch/mips/include/asm/mach-ip27/dma-coherence.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion arch/mips/include/asm/mach-jazz/dma-coherence.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion arch/mips/include/asm/mach-loongson/dma-coherence.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion arch/mips/include/asm/mach-powertv/dma-coherence.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion arch/mips/kernel/cpu-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ void r4k_wait_irqoff(void)
local_irq_enable();
__asm__(" .globl __pastwait \n"
"__pastwait: \n");
return;
}

/*
Expand Down
2 changes: 0 additions & 2 deletions arch/mips/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ static void mipspmu_event_update(struct perf_event *event,

local64_add(delta, &event->count);
local64_sub(delta, &hwc->period_left);

return;
}

static void mipspmu_start(struct perf_event *event, int flags)
Expand Down
2 changes: 0 additions & 2 deletions arch/mips/loongson/lemote-2f/ec_kb3310b.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 0 additions & 2 deletions arch/mips/nxp/pnx8550/common/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,4 @@ void __init plat_mem_setup(void)
PNX8XXX_UART_LCR_8BIT;
ip3106_baud(UART_BASE, pnx8550_console_port) = 5;
}

return;
}
2 changes: 0 additions & 2 deletions arch/mips/pnx8550/common/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,4 @@ void __init plat_mem_setup(void)
PNX8XXX_UART_LCR_8BIT;
ip3106_baud(UART_BASE, pnx8550_console_port) = 5;
}

return;
}

0 comments on commit 98f4a2c

Please sign in to comment.