aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bresticker <[email protected]>2014-10-20 12:04:02 -0700
committerRalf Baechle <[email protected]>2014-11-24 07:45:15 +0100
commit001f5fe72cf6434f00fccf2b628f6843de1c3d4f (patch)
tree835f10ef395db0a0865132a528a677b7fac600b1
parentb0854514537e4e2f0a599ca05d18fe95dcd3ee42 (diff)
clocksource: mips-gic: Remove gic_event_handler
Remove gic_event_handler since it is completely unnecessary. Signed-off-by: Andrew Bresticker <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Paul Burton <[email protected]> Cc: Qais Yousef <[email protected]> Cc: John Crispin <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/8136/ Signed-off-by: Ralf Baechle <[email protected]>
-rw-r--r--drivers/clocksource/mips-gic-timer.c5
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 = {
.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);