mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
[NTDLL]
- Remove useless code. Spotted by Pierre. svn path=/trunk/; revision=53802
This commit is contained in:
parent
53d96bda2f
commit
1cdfe06ad1
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue