diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-10 14:35:41 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-10 14:35:41 +0000 |
commit | 808f4a6aed216b4cbaf76ce54e95066df192c522 (patch) | |
tree | aa9ba004aeccc2feecfd8c4f273489237013aa68 /MdePkg | |
parent | 6203199177e6968f69485ac7d9823f91e8b907e0 (diff) | |
download | edk2-platforms-808f4a6aed216b4cbaf76ce54e95066df192c522.tar.xz |
Remove wrong comments in function header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7855 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c | 1 | ||||
-rw-r--r-- | MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c index b57197b9a3..a240d03ef3 100644 --- a/MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c +++ b/MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c @@ -644,7 +644,6 @@ AllocateReservedCopyPool ( If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
enough memory remaining to satisfy the request, then NULL is returned.
- If OldBuffer is NULL, then ASSERT().
If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
diff --git a/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c index 04984d0165..7704f289e1 100644 --- a/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c +++ b/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c @@ -661,7 +661,6 @@ AllocateReservedCopyPool ( If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
enough memory remaining to satisfy the request, then NULL is returned.
- If OldBuffer is NULL, then ASSERT().
If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|