UefiCpuPkg: Delete redundant PcdGetSize PcdCpuFeaturesSupport
authorSong, BinX <binx.song@intel.com>
Thu, 21 Dec 2017 12:01:18 +0000 (20:01 +0800)
committerEric Dong <eric.dong@intel.com>
Wed, 27 Dec 2017 07:31:33 +0000 (15:31 +0800)
commita1d1422dd47ced228b0aad541a8bdfcaaeaa807a
tree074c3c88c32a5413f1bc8346d5b86ad0b4f1424b
parent8766d3a3e8150c48d8f2cf5764d48b792de74ee1
UefiCpuPkg: Delete redundant PcdGetSize PcdCpuFeaturesSupport

When CpuCommonFeaturesLib use RegisterCpuFeaturesLib to register
CPU features, the CpuFeaturesData->BitMaskSize has already been
initialized. So delete redundant PcdGetSize PcdCpuFeaturesSupport
in CpuInitDataInitialize.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bell Song <binx.song@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c