mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 02:20:54 +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:
parent
4595756a37
commit
087eda6b50
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue