From: Frank Mori Hess Date: Sun, 15 Jan 2006 20:34:35 +0000 (+0000) Subject: Fixed a couple compile warnings. X-Git-Tag: r0_7_71~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c45535af09c5739fe965d40963a64038ade3163e;p=comedi.git Fixed a couple compile warnings. --- diff --git a/comedi/drivers/adv_pci1710.c b/comedi/drivers/adv_pci1710.c index 7c323524..57f1cb0f 100644 --- a/comedi/drivers/adv_pci1710.c +++ b/comedi/drivers/adv_pci1710.c @@ -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 */ diff --git a/comedi/drivers/ni_pcidio.c b/comedi/drivers/ni_pcidio.c index 550c025d..2e87988a 100644 --- a/comedi/drivers/ni_pcidio.c +++ b/comedi/drivers/ni_pcidio.c @@ -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); }