- Remove a ROS hack in IopCloseFile.
authorAlex Ionescu <aionescu@gmail.com>
Sat, 8 Jul 2006 18:19:39 +0000 (18:19 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sat, 8 Jul 2006 18:19:39 +0000 (18:19 +0000)
svn path=/trunk/; revision=22929

reactos/ntoskrnl/io/iomgr/file.c

index 81f571c..b7039c6 100644 (file)
@@ -963,13 +963,6 @@ IopCloseFile(IN PEPROCESS Process OPTIONAL,
     /* Make sure this is the last handle */
     if (SystemHandleCount != 1) return;
 
-    /* FIXME: ROS HACK */
-    if (!FileObject->DeviceObject)
-    {
-        DPRINT1("FIXME: MALFORMED FILE OBJECT!\n");
-        return;
-    }
-
     /* Check if this is a direct open or not */
     if (FileObject->Flags & FO_DIRECT_DEVICE_OPEN)
     {