From 2002b5b96a4a16299c87b0a047e0e702d3cda6aa Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sat, 8 Jul 2006 18:19:39 +0000 Subject: [PATCH] - Remove a ROS hack in IopCloseFile. svn path=/trunk/; revision=22929 --- reactos/ntoskrnl/io/iomgr/file.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/reactos/ntoskrnl/io/iomgr/file.c b/reactos/ntoskrnl/io/iomgr/file.c index 81f571c7357..b7039c64509 100644 --- a/reactos/ntoskrnl/io/iomgr/file.c +++ b/reactos/ntoskrnl/io/iomgr/file.c @@ -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) {