Update the usage of ALIGN_VARIABLE for the interface change.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5870 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2008-09-10 16:05:24 +00:00
parent 3fef0f51d8
commit f0d5cbb66a
1 changed files with 1 additions and 2 deletions

View File

@ -236,7 +236,6 @@ CoreAllocatePoolI (
UINTN Index;
UINTN FSize;
UINTN Offset;
UINTN Adjustment;
UINTN NoPages;
ASSERT_LOCKED (&gMemoryLock);
@ -250,7 +249,7 @@ CoreAllocatePoolI (
// we don't get an unaligned access fault later when
// pool_Tail is being initialized
//
ALIGN_VARIABLE (Size, Adjustment);
Size = ALIGN_VARIABLE (Size);
Size += POOL_OVERHEAD;
Index = SIZE_TO_LIST(Size);