- 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
This commit is contained in:
Aleksey Bragin 2008-05-01 19:44:30 +00:00
parent 917f4dca07
commit 5e52f1cb74

View file

@ -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;