projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb38730
)
fix warnings
author
David Schleef
<ds@schleef.org>
Tue, 9 Jul 2002 00:15:16 +0000
(
00:15
+0000)
committer
David Schleef
<ds@schleef.org>
Tue, 9 Jul 2002 00:15:16 +0000
(
00:15
+0000)
comedi/drivers/rtd520.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/rtd520.c
b/comedi/drivers/rtd520.c
index e792bf0e373fde7631aa6e4b943894c72ee4034b..1a78bfb0bdb976c1b649dd46810f027df2c1e17d 100644
(file)
--- 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.