Author: fireball Date: Thu May 1 14:44:30 2008 New Revision: 33223
URL: http://svn.reactos.org/svn/reactos?rev=33223&view=rev Log: - Remove incorrect check introduced in r33221 since Windows does not do it (try to call it on your Windows 2003 installation, and see results).
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] Thu May 1 14:44:30 2008 @@ -1,3 +1,4 @@ + /* * PROJECT: ReactOS Kernel * LICENSE: GPL - See COPYING in the top level directory @@ -620,9 +621,6 @@ { PIRP Irp; PIO_STACK_LOCATION StackPtr; - - /* Check if DeviceObject is NULL dxg.sys will send in NULL if we got a PCI graphic card */ - if (DeviceObject == NULL) return NULL;
/* Allocate IRP */ Irp = IoAllocateIrp(DeviceObject->StackSize, FALSE);