]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove the meaningless compare code.
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Jan 2013 06:18:50 +0000 (06:18 +0000)
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 14 Jan 2013 06:18:50 +0000 (06:18 +0000)
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14046 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/UefiHiiLib/HiiLib.c

index 6d2755ce36426b50ecec0a0867457a3e9a6448e6..0e7ddee35a92d3e475f566b5da9ede98217d06af 100644 (file)
@@ -1511,7 +1511,7 @@ InternalHiiValidateCurrentSetting (
             //\r
             // Check current value is the value of one of option.\r
             //\r
-            ASSERT (IfrOneOfOption->Type >= EFI_IFR_TYPE_NUM_SIZE_8 && IfrOneOfOption->Type <= EFI_IFR_TYPE_NUM_SIZE_64);\r
+            ASSERT (IfrOneOfOption->Type <= EFI_IFR_TYPE_NUM_SIZE_64);\r
             ZeroMem (&TmpValue, sizeof (EFI_IFR_TYPE_VALUE));\r
             CopyMem (&TmpValue, &IfrOneOfOption->Value, IfrOneOfOption->Header.Length - OFFSET_OF (EFI_IFR_ONE_OF_OPTION, Value));\r
             if (VarValue == TmpValue.u64) {\r