diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2014-10-20 15:04:02 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 01:45:15 -0500 |
commit | 001f5fe72cf6434f00fccf2b628f6843de1c3d4f (patch) | |
tree | 835f10ef395db0a0865132a528a677b7fac600b1 /drivers/clocksource/mips-gic-timer.c | |
parent | b0854514537e4e2f0a599ca05d18fe95dcd3ee42 (diff) |
clocksource: mips-gic: Remove gic_event_handler
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>
Diffstat (limited to 'drivers/clocksource/mips-gic-timer.c')
-rw-r--r-- | drivers/clocksource/mips-gic-timer.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c index bced17d2d2c1..763aa1c9130f 100644 --- a/drivers/clocksource/mips-gic-timer.c +++ b/drivers/clocksource/mips-gic-timer.c | |||
@@ -54,10 +54,6 @@ struct irqaction gic_compare_irqaction = { | |||
54 | .name = "timer", | 54 | .name = "timer", |
55 | }; | 55 | }; |
56 | 56 | ||
57 | static void gic_event_handler(struct clock_event_device *dev) | ||
58 | { | ||
59 | } | ||
60 | |||
61 | int gic_clockevent_init(void) | 57 | int gic_clockevent_init(void) |
62 | { | 58 | { |
63 | unsigned int cpu = smp_processor_id(); | 59 | unsigned int cpu = smp_processor_id(); |
@@ -86,7 +82,6 @@ int gic_clockevent_init(void) | |||
86 | cd->cpumask = cpumask_of(cpu); | 82 | cd->cpumask = cpumask_of(cpu); |
87 | cd->set_next_event = gic_next_event; | 83 | cd->set_next_event = gic_next_event; |
88 | cd->set_mode = gic_set_clock_mode; | 84 | cd->set_mode = gic_set_clock_mode; |
89 | cd->event_handler = gic_event_handler; | ||
90 | 85 | ||
91 | clockevents_register_device(cd); | 86 | clockevents_register_device(cd); |
92 | 87 | ||