MIPS: IP27: Remove pointless switch statement.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
2f58b8d04e
commit
4f0ad95088
1 changed files with 1 additions and 12 deletions
|
@ -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,
|
static void rt_set_mode(enum clock_event_mode mode,
|
||||||
struct clock_event_device *evt)
|
struct clock_event_device *evt)
|
||||||
{
|
{
|
||||||
switch (mode) {
|
/* Nothing to do ... */
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int rt_timer_irq;
|
int rt_timer_irq;
|
||||||
|
|
Loading…
Add table
Reference in a new issue