mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 22:16:01 +00:00
- 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:
parent
917f4dca07
commit
5e52f1cb74
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue