mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:45:50 +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);
|
HighWaterNumberOfObjects);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OMG-Hack-Of-Doom */
|
|
||||||
RtlZeroMemory(&Header->Body, ObjectSize);
|
|
||||||
|
|
||||||
/* Return Header */
|
/* Return Header */
|
||||||
*ObjectHeader = Header;
|
*ObjectHeader = Header;
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue