mirror of
https://github.com/reactos/reactos.git
synced 2024-07-04 11:44:33 +00:00
[NTFS]
Remove deadcode CID 1321946 svn path=/trunk/; revision=68934
This commit is contained in:
parent
5fed17ea9a
commit
00bc01249e
|
@ -75,10 +75,6 @@ NtfsReadFile(PDEVICE_EXTENSION DeviceExt,
|
||||||
if (FileRecord == NULL)
|
if (FileRecord == NULL)
|
||||||
{
|
{
|
||||||
DPRINT1("Not enough memory!\n");
|
DPRINT1("Not enough memory!\n");
|
||||||
if (AllocatedBuffer)
|
|
||||||
{
|
|
||||||
ExFreePoolWithTag(ReadBuffer, TAG_NTFS);
|
|
||||||
}
|
|
||||||
return STATUS_INSUFFICIENT_RESOURCES;
|
return STATUS_INSUFFICIENT_RESOURCES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,10 +83,6 @@ NtfsReadFile(PDEVICE_EXTENSION DeviceExt,
|
||||||
{
|
{
|
||||||
DPRINT1("Can't find record!\n");
|
DPRINT1("Can't find record!\n");
|
||||||
ExFreePoolWithTag(FileRecord, TAG_NTFS);
|
ExFreePoolWithTag(FileRecord, TAG_NTFS);
|
||||||
if (AllocatedBuffer)
|
|
||||||
{
|
|
||||||
ExFreePoolWithTag(ReadBuffer, TAG_NTFS);
|
|
||||||
}
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue