aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBob Liu <lliubbo@gmail.com>2012-01-04 22:25:15 -0500
committerBob Liu <lliubbo@gmail.com>2012-01-08 21:26:16 -0500
commite6171bbe4d5683960221d42c87195cbd366de4bf (patch)
treea79de555a248682504065e1cb0581a998b72ecfc /arch
parent7c8e62deeb98713fcce903662a66b16bd04dc602 (diff)
blackfin: time-ts: rm unused func broadcast_timer_setup()
broadcast_timer_setup() has no user now, drop it. Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/kernel/time-ts.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/blackfin/kernel/time-ts.c b/arch/blackfin/kernel/time-ts.c
index 6efd944a2f33..d98f2d69b0c4 100644
--- a/arch/blackfin/kernel/time-ts.c
+++ b/arch/blackfin/kernel/time-ts.c
@@ -282,24 +282,6 @@ void bfin_coretmr_init(void)
282__attribute__((l1_text)) 282__attribute__((l1_text))
283#endif 283#endif
284 284
285static void broadcast_timer_set_mode(enum clock_event_mode mode,
286 struct clock_event_device *evt)
287{
288}
289
290static void __cpuinit broadcast_timer_setup(struct clock_event_device *evt)
291{
292 evt->name = "dummy_timer";
293 evt->features = CLOCK_EVT_FEAT_ONESHOT |
294 CLOCK_EVT_FEAT_PERIODIC |
295 CLOCK_EVT_FEAT_DUMMY;
296 evt->rating = 400;
297 evt->mult = 1;
298 evt->set_mode = broadcast_timer_set_mode;
299
300 clockevents_register_device(evt);
301}
302
303irqreturn_t bfin_coretmr_interrupt(int irq, void *dev_id) 285irqreturn_t bfin_coretmr_interrupt(int irq, void *dev_id)
304{ 286{
305 int cpu = smp_processor_id(); 287 int cpu = smp_processor_id();