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;