mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user