From 5e52f1cb745b2213aa9ee068ae1dfa031b235bef Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Thu, 1 May 2008 19:44:30 +0000 Subject: [PATCH] - Remove incorrect check introduced in r33221 since Windows does not do it (try to call it on your Windows 2003 installation, and see results). svn path=/trunk/; revision=33223 --- reactos/ntoskrnl/io/iomgr/irp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/io/iomgr/irp.c b/reactos/ntoskrnl/io/iomgr/irp.c index 7b904f5d523..fdb48064786 100644 --- a/reactos/ntoskrnl/io/iomgr/irp.c +++ b/reactos/ntoskrnl/io/iomgr/irp.c @@ -1,3 +1,4 @@ + /* * PROJECT: ReactOS Kernel * LICENSE: GPL - See COPYING in the top level directory @@ -621,9 +622,6 @@ IoBuildAsynchronousFsdRequest(IN ULONG MajorFunction, 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); if (!Irp) return Irp;