From cedceefeaf8bb52d375cba7c4732886877850c87 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 16 May 2002 22:16:59 +0000 Subject: [PATCH] Remove release_mem_region() --- comedi/drivers/mite.c | 10 ---------- 1 file changed, 10 deletions(-) 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; -- 2.26.2