projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f58b8d
)
MIPS: IP27: Remove pointless switch statement.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 19 May 2011 08:21:28 +0000
(09:21 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 19 May 2011 08:55:44 +0000
(09:55 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip27/ip27-timer.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/sgi-ip27/ip27-timer.c
b/arch/mips/sgi-ip27/ip27-timer.c
index a152538d3c9744cb27f40a0e18d5a69eeb94c91c..3f810c9cbf83827a57e25dd6db86bba95d770fa2 100644
(file)
--- a/
arch/mips/sgi-ip27/ip27-timer.c
+++ b/
arch/mips/sgi-ip27/ip27-timer.c
@@
-66,18
+66,7
@@
static int rt_next_event(unsigned long delta, struct clock_event_device *evt)
static void rt_set_mode(enum clock_event_mode mode,
struct clock_event_device *evt)
{
- switch (mode) {
- case CLOCK_EVT_MODE_ONESHOT:
- /* The only mode supported */
- break;
-
- case CLOCK_EVT_MODE_PERIODIC:
- case CLOCK_EVT_MODE_UNUSED:
- case CLOCK_EVT_MODE_SHUTDOWN:
- case CLOCK_EVT_MODE_RESUME:
- /* Nothing to do */
- break;
- }
+ /* Nothing to do ... */
}
int rt_timer_irq;