Author: sginsberg Date: Sun Sep 14 23:32:45 2008 New Revision: 36251
URL: http://svn.reactos.org/svn/reactos?rev=36251&view=rev Log: - IopCompleteRequest: Remove the hack related to Irp->UserEvent, fixed by 36047
Modified: trunk/reactos/ntoskrnl/io/iomgr/irp.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/irp.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/irp.c?rev... ============================================================================== --- trunk/reactos/ntoskrnl/io/iomgr/irp.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/io/iomgr/irp.c [iso-8859-1] Sun Sep 14 23:32:45 2008 @@ -346,16 +346,8 @@ /* Check if this is an Asynch API */ if (!(Irp->Flags & IRP_SYNCHRONOUS_API)) { - /* HACK */ - if (*((PULONG)(Irp->UserEvent) - 1) != 0x87878787) - { /* Dereference the event */ ObDereferenceObject(Irp->UserEvent); - } - else - { - DPRINT1("Not an executive event -- should not be dereferenced\n"); - } }
/*