From: David Schleef Date: Thu, 30 Nov 2000 00:29:33 +0000 (+0000) Subject: removed release_region X-Git-Tag: r0_7_51~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a82f2263ed375ed473920091f1589b17e7513a8;p=comedi.git removed release_region --- diff --git a/comedi/drivers/ni_mio_cs.c b/comedi/drivers/ni_mio_cs.c index 8ca494e1..6903cdb6 100644 --- a/comedi/drivers/ni_mio_cs.c +++ b/comedi/drivers/ni_mio_cs.c @@ -154,8 +154,11 @@ static int ni_getboardtype(comedi_device *dev,dev_link_t *link); /* clean up allocated resources */ static int mio_cs_free(comedi_device *dev) { +#if 0 + /* PCMCIA layer does this for us */ if(dev->iobase) release_region(dev->iobase,NI_SIZE); +#endif if(dev->irq){ comedi_free_irq(dev->irq,dev); }