Remove release_mem_region()
authorDavid Schleef <ds@schleef.org>
Thu, 16 May 2002 22:16:59 +0000 (22:16 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 16 May 2002 22:16:59 +0000 (22:16 +0000)
comedi/drivers/mite.c

index cb238fa017f78bb6137e5b85d21ee1532b5f65d7..70cacc029783f15833e28d261112cfab94a5c717 100644 (file)
@@ -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;