From 00caf4f7421f2c51898c4ef5580d913c88290ba0 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 9 Jul 2002 00:15:16 +0000 Subject: [PATCH] fix warnings --- comedi/drivers/rtd520.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comedi/drivers/rtd520.c b/comedi/drivers/rtd520.c index e792bf0e..1a78bfb0 100644 --- a/comedi/drivers/rtd520.c +++ b/comedi/drivers/rtd520.c @@ -631,7 +631,6 @@ static int rtd_attach ( { comedi_subdevice *s; struct pci_dev* pcidev; - int index; int ret; unsigned long physLas0; /* configuation */ unsigned long physLas1; /* data area */ @@ -1181,6 +1180,7 @@ transferDone: RtdInterruptClear (dev); } +#if 0 /* return the number of samples available */ @@ -1189,6 +1189,7 @@ static int rtd_ai_poll (comedi_device *dev,comedi_subdevice *s) /* TODO: This needs to mask interrupts, read_dregs, and then re-enable */ return s->async->buf_write_count - s->async->buf_read_count; } +#endif /* cmdtest tests a particular command to see if it is valid. -- 2.26.2