Remove no longer needed hack

svn path=/trunk/; revision=23353
This commit is contained in:
Hervé Poussineau 2006-07-29 17:59:04 +00:00
parent ca2a89a457
commit 8775e940c1

View file

@ -1000,14 +1000,6 @@ IoSetDeviceInterfaceState(IN PUNICODE_STRING SymbolicLinkName,
ObDereferenceObject(FileObject);
/* hpoussin, July 2006. Dereferencing the FileObject once
* is not enough to trigger the sending of IRP_MJ_CLEANUP.
* So, do it once more... According to Alex, it's because
* FileObjects should start with a ref count of 1 instead
* of 2 at the moment...
*/
ObDereferenceObject(FileObject);
return STATUS_SUCCESS;
}