From c45535af09c5739fe965d40963a64038ade3163e Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 15 Jan 2006 20:34:35 +0000 Subject: [PATCH] Fixed a couple compile warnings. --- comedi/drivers/adv_pci1710.c | 2 +- comedi/drivers/ni_pcidio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.26.2