remove redundant judgement as ALIGNMENT can only equate with 1 or 8 instead of 0

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7729 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian 2009-02-27 07:07:27 +00:00
parent 3709c4cd5b
commit d4cb8e71ac
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ extern EFI_GUID gEfiVariableGuid;
//
// GET_PAD_SIZE to calculate miminal pad bytes to make current size satisfy the alignment requirement
//
#if ((ALIGNMENT == 0) || (ALIGNMENT == 1))
#if (ALIGNMENT == 1)
#define GET_PAD_SIZE(a) (0)
#else
#define GET_PAD_SIZE(a) (((~a) + 1) & (ALIGNMENT - 1))