Fixed a couple compile warnings.
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 15 Jan 2006 20:34:35 +0000 (20:34 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 15 Jan 2006 20:34:35 +0000 (20:34 +0000)
comedi/drivers/adv_pci1710.c
comedi/drivers/ni_pcidio.c

index 7c323524ee7055963ab92ccef8453f9290f37310..57f1cb0fea128f5b74944087f3ef25478bff23d8 100644 (file)
@@ -457,7 +457,7 @@ static int pci171x_insn_counter_read(comedi_device *dev,comedi_subdevice *s, com
 
                data[0] = lsb | (msb << 8);
        }
-#if unused
+#if 0
        if ( /* count and status */ )
                ccntrl = 0xC2;
                /* status, if latched, first */
index 550c025d35d53bbb9ca1bfb202d5c98255ae9ef0..2e87988a01284c7d1edb24a99c273a4f05be3443 100644 (file)
@@ -575,7 +575,7 @@ static irqreturn_t nidio_interrupt(int irq, void *d, struct pt_regs *regs)
 out:
        comedi_event(dev,s,async->events);
 
-#if unused
+#if 0
        if(!tag){
                writeb(0x03,devpriv->mite->daq_io_addr+Master_DMA_And_Interrupt_Control);
        }