clocksource: mips-gic: Remove gic_event_handler
authorAndrew Bresticker <abrestic@chromium.org>
Mon, 20 Oct 2014 19:04:02 +0000 (12:04 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:15 +0000 (07:45 +0100)
Remove gic_event_handler since it is completely unnecessary.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8136/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/clocksource/mips-gic-timer.c

index bced17d2d2c10ccc70b0d0974bb9f3786fe1c40d..763aa1c9130fd8cb980d98d8d3babe33919b0820 100644 (file)
@@ -54,10 +54,6 @@ struct irqaction gic_compare_irqaction = {
        .name = "timer",
 };
 
-static void gic_event_handler(struct clock_event_device *dev)
-{
-}
-
 int gic_clockevent_init(void)
 {
        unsigned int cpu = smp_processor_id();
@@ -86,7 +82,6 @@ int gic_clockevent_init(void)
        cd->cpumask             = cpumask_of(cpu);
        cd->set_next_event      = gic_next_event;
        cd->set_mode            = gic_set_clock_mode;
-       cd->event_handler       = gic_event_handler;
 
        clockevents_register_device(cd);