From: Ralf Baechle Date: Thu, 19 May 2011 08:21:28 +0000 (+0100) Subject: MIPS: IP27: Remove pointless switch statement. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f0ad950880a33df792b1e63649e29f8784b0163;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git MIPS: IP27: Remove pointless switch statement. Signed-off-by: Ralf Baechle --- 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;