From 808f4a6aed216b4cbaf76ce54e95066df192c522 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 10 Mar 2009 14:35:41 +0000 Subject: [PATCH] Remove wrong comments in function header. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7855 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c | 1 - MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c | 1 - 2 files changed, 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(). -- 2.39.2