- Remove useless code. Spotted by Pierre.

svn path=/trunk/; revision=53802
This commit is contained in:
Aleksey Bragin 2011-09-22 08:45:05 +00:00
parent 53d96bda2f
commit 1cdfe06ad1

View file

@ -1374,18 +1374,6 @@ LdrUnloadDll(IN PVOID BaseAddress)
NextEntry = LdrpUnloadHead.Flink;
while (NextEntry != &LdrpUnloadHead)
{
/* If we have an active entry */
if (CurrentEntry)
{
/* Remove it */
RemoveEntryList(&CurrentEntry->InLoadOrderLinks);
CurrentEntry = NULL;
/* Reset list pointers */
NextEntry = LdrpUnloadHead.Flink;
if (NextEntry == &LdrpUnloadHead) break;
}
/* Get the current entry */
LdrEntry = CONTAINING_RECORD(NextEntry, LDR_DATA_TABLE_ENTRY, HashLinks);