mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 13:13:40 +00:00
- Remove the object body zeroing hack from ObpAllocateObject now that callers that relied on this have been fixed. Fixes ~4000 unnecessary buffer zeroing operations just for boot!
svn path=/trunk/; revision=41973
This commit is contained in:
parent
ddbfcbae40
commit
2b3f6a29ae
1 changed files with 0 additions and 3 deletions
|
@ -829,9 +829,6 @@ ObpAllocateObject(IN POBJECT_CREATE_INFORMATION ObjectCreateInfo,
|
|||
HighWaterNumberOfObjects);
|
||||
}
|
||||
|
||||
/* OMG-Hack-Of-Doom */
|
||||
RtlZeroMemory(&Header->Body, ObjectSize);
|
||||
|
||||
/* Return Header */
|
||||
*ObjectHeader = Header;
|
||||
return STATUS_SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue