diff options
-rw-r--r-- | MdeModulePkg/Include/Guid/VariableFormat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Include/Guid/VariableFormat.h b/MdeModulePkg/Include/Guid/VariableFormat.h index b5491e43dc..bf1c6b3687 100644 --- a/MdeModulePkg/Include/Guid/VariableFormat.h +++ b/MdeModulePkg/Include/Guid/VariableFormat.h @@ -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))
|