diff --git a/reactos/drivers/storage/class2/class2.c b/reactos/drivers/storage/class2/class2.c index ad38cadeee0..84fe6940692 100644 --- a/reactos/drivers/storage/class2/class2.c +++ b/reactos/drivers/storage/class2/class2.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: class2.c,v 1.21 2002/06/06 23:19:36 ekohl Exp $ +/* $Id: class2.c,v 1.22 2002/08/17 15:21:12 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -929,15 +929,6 @@ ScsiClassIoComplete(PDEVICE_OBJECT DeviceObject, } } - /* Free the IRP's MDL */ - if (Irp->MdlAddress->MappedSystemVa != NULL) - { - MmUnmapLockedPages(Irp->MdlAddress->MappedSystemVa, - Irp->MdlAddress); - } - MmUnlockPages(Irp->MdlAddress); - ExFreePool(Irp->MdlAddress); - /* FIXME: use lookaside list instead */ DPRINT("Freed SRB %p\n", IrpStack->Parameters.Scsi.Srb); ExFreePool(IrpStack->Parameters.Scsi.Srb);