[NTOSKRNL]

- Use SLIST_ENTRY instead of SINGLE_LIST_ENTRY for interlocked operations
- Remove unused variable

svn path=/branches/cmake-bringup/; revision=50191
This commit is contained in:
Timo Kreuzer 2010-12-28 16:03:46 +00:00
parent 4595756a37
commit 087eda6b50
2 changed files with 2 additions and 4 deletions

View file

@ -157,8 +157,6 @@ VOID
MI_MAKE_PROTOTYPE_PTE(IN PMMPTE NewPte,
IN PMMPTE PointerPte)
{
ULONG_PTR Offset;
/* Store the Address */
NewPte->u.Long = (ULONG64)PointerPte;

View file

@ -358,14 +358,14 @@ ObpFreeCapturedAttributes(IN PVOID Buffer,
{
/* The free was within the Depth */
InterlockedPushEntrySList(&List->L.ListHead,
(PSINGLE_LIST_ENTRY)Buffer);
(PSLIST_ENTRY)Buffer);
}
}
else
{
/* The free was within the Depth */
InterlockedPushEntrySList(&List->L.ListHead,
(PSINGLE_LIST_ENTRY)Buffer);
(PSLIST_ENTRY)Buffer);
}
}