[NTFS]
authorPierre Schweitzer <pierre@reactos.org>
Mon, 24 Aug 2015 20:40:54 +0000 (20:40 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 24 Aug 2015 20:40:54 +0000 (20:40 +0000)
Remove leftover code

svn path=/trunk/; revision=68814

reactos/drivers/filesystems/ntfs/fcb.c

index a1a47b2..7d3d070 100644 (file)
@@ -370,44 +370,6 @@ NtfsOpenRootFCB(PNTFS_VCB Vcb)
 }
 
 
-#if 0
-static VOID
-NtfsGetDirEntryName(PDEVICE_EXTENSION DeviceExt,
-                   PDIR_RECORD Record,
-                   PWSTR Name)
-/*
- * FUNCTION: Retrieves the file name, be it in short or long file name format
- */
-{
-  if (Record->FileIdLength == 1 && Record->FileId[0] == 0)
-    {
-      wcscpy(Name, L".");
-    }
-  else if (Record->FileIdLength == 1 && Record->FileId[0] == 1)
-    {
-      wcscpy(Name, L"..");
-    }
-  else
-    {
-      if (DeviceExt->CdInfo.JolietLevel == 0)
-       {
-         ULONG i;
-
-         for (i = 0; i < Record->FileIdLength && Record->FileId[i] != ';'; i++)
-           Name[i] = (WCHAR)Record->FileId[i];
-         Name[i] = 0;
-       }
-      else
-       {
-         NtfsSwapString(Name, Record->FileId, Record->FileIdLength);
-       }
-    }
-
-  DPRINT("Name '%S'\n", Name);
-}
-#endif
-
-
 NTSTATUS
 NtfsMakeFCBFromDirEntry(PNTFS_VCB Vcb,
                         PNTFS_FCB DirectoryFCB,