From: David Schleef Date: Thu, 16 May 2002 22:16:59 +0000 (+0000) Subject: Remove release_mem_region() X-Git-Tag: r0_7_65~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cedceefeaf8bb52d375cba7c4732886877850c87;p=comedi.git Remove release_mem_region() --- diff --git a/comedi/drivers/mite.c b/comedi/drivers/mite.c index cb238fa0..70cacc02 100644 --- a/comedi/drivers/mite.c +++ b/comedi/drivers/mite.c @@ -161,20 +161,10 @@ void mite_unsetup(struct mite_struct *mite) if(mite->mite_io_addr){ iounmap(mite->mite_io_addr); mite->mite_io_addr=NULL; - // release io memory region - offset = mite->mite_phys_addr & ~PAGE_MASK; - start = mite->mite_phys_addr & PAGE_MASK; - length = PCI_MITE_SIZE + offset; - release_mem_region(start, length); } if(mite->daq_io_addr){ iounmap(mite->daq_io_addr); mite->daq_io_addr=NULL; - // release io memory region - offset = mite->daq_phys_addr & ~PAGE_MASK; - start = mite->daq_phys_addr & PAGE_MASK; - length = PCI_DAQ_SIZE + offset; - release_mem_region(start, length); } mite->used = 0;