[ros-diffs] [fireball] 33223: - Remove incorrect check introduced in r33221 since Windows does not do it (try to call it on your Windows 2003 installation, and see results).

fireball at svn.reactos.org fireball at svn.reactos.org
Thu May 1 21:44:30 CEST 2008


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=33223&r1=33222&r2=33223&view=diff
==============================================================================
--- 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);



More information about the Ros-diffs mailing list