diff --git a/reactos/ntoskrnl/io/iomgr/file.c b/reactos/ntoskrnl/io/iomgr/file.c index 8fdc3f50a25..6c5064e8272 100644 --- a/reactos/ntoskrnl/io/iomgr/file.c +++ b/reactos/ntoskrnl/io/iomgr/file.c @@ -1355,14 +1355,6 @@ IopQueryNameFile(IN PVOID ObjectBody, return Status; } - /* ROS HACK. VFAT SUCKS */ - if (NT_WARNING(Status)) - { - DPRINT("Status 0x%08x, LRN 0x%x, FileLength 0x%x\n", Status, - LocalReturnLength, FileLength); - LocalReturnLength = FileLength; - } - /* If the provided buffer is too small, return the required size */ if (LengthMismatch) {