From 06d4db616fcdf31ecd6f07bf54d20df632afddb9 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 9 Jul 2002 00:25:55 +0000 Subject: [PATCH] Remove timer_poll. --- comedi/drivers/comedi_rt_timer.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/comedi/drivers/comedi_rt_timer.c b/comedi/drivers/comedi_rt_timer.c index 79b99868..20af4a4c 100644 --- a/comedi/drivers/comedi_rt_timer.c +++ b/comedi/drivers/comedi_rt_timer.c @@ -571,13 +571,6 @@ static int timer_start_cmd(comedi_device *dev, comedi_subdevice *s) return 0; } -static int timer_poll(comedi_device *dev,comedi_subdevice *s) -{ - /* This it pretty generic code, perhaps it should be the - * default for any subdevice that doesn't implement poll. */ - return s->async->buf_int_count - s->async->buf_user_count; -} - static int timer_attach(comedi_device *dev,comedi_devconfig *it) { int ret; @@ -619,7 +612,6 @@ static int timer_attach(comedi_device *dev,comedi_devconfig *it) s->maxdata=emul_s->maxdata; s->range_table=emul_s->range_table; s->range_table_list=emul_s->range_table_list; - s->poll=timer_poll; switch(emul_s->type){ case COMEDI_SUBD_AI: s->insn_read=timer_insn; -- 2.26.2