diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2011-05-19 09:21:28 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-05-19 09:55:44 +0100 |
commit | 4f0ad950880a33df792b1e63649e29f8784b0163 (patch) | |
tree | 6b65fb76dcc133ce5860ae4b7c6df7868bf94937 /arch/mips/sgi-ip27/ip27-timer.c | |
parent | 2f58b8d04e680ec13157ba6eee44455438c56d5f (diff) | |
download | linux-4f0ad950880a33df792b1e63649e29f8784b0163.tar.bz2 |
MIPS: IP27: Remove pointless switch statement.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-timer.c')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-timer.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c index a152538d3c97..3f810c9cbf83 100644 --- 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; |