summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-07-25 17:26:55 +0100
committerRalf Baechle <ralf@linux-mips.org>2011-07-25 17:26:55 +0100
commit98f4a2c27c76e7eaf75c2f3f25487fabca62ef3d (patch)
tree62847ed650ec2a13a764317819c9c042c1775e98 /arch/mips/kernel
parent464fd83e841a16f4ea1325b33eb08170ef5cd1f4 (diff)
downloadop-kernel-dev-98f4a2c27c76e7eaf75c2f3f25487fabca62ef3d.zip
op-kernel-dev-98f4a2c27c76e7eaf75c2f3f25487fabca62ef3d.tar.gz
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>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/cpu-probe.c1
-rw-r--r--arch/mips/kernel/perf_event.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index bb133d1..ebc0cd2 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -71,7 +71,6 @@ void r4k_wait_irqoff(void)
local_irq_enable();
__asm__(" .globl __pastwait \n"
"__pastwait: \n");
- return;
}
/*
diff --git a/arch/mips/kernel/perf_event.c b/arch/mips/kernel/perf_event.c
index a824485..ff1840f 100644
--- a/arch/mips/kernel/perf_event.c
+++ b/arch/mips/kernel/perf_event.c
@@ -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)
OpenPOWER on IntegriCloud