summaryrefslogtreecommitdiffstats
path: root/SecurityPkg
diff options
context:
space:
mode:
authorZhang, Chao B <chao.b.zhang@intel.com>2017-01-06 09:13:13 +0800
committerZhang, Chao B <chao.b.zhang@intel.com>2017-01-06 09:51:27 +0800
commit60c9860c43beb1f50ea0e86bccbc9d26aae1ae5b (patch)
tree2ab215fa274880649d0c8ff4684a57237844093f /SecurityPkg
parent74e2b93496778d3242fdb76d2f741365d79222a0 (diff)
downloadedk2-60c9860c43beb1f50ea0e86bccbc9d26aae1ae5b.tar.gz
edk2-60c9860c43beb1f50ea0e86bccbc9d26aae1ae5b.tar.bz2
edk2-60c9860c43beb1f50ea0e86bccbc9d26aae1ae5b.zip
SecurityPkg: Tcg2ConfigDxe: Remove duplicate local variable
Remove duplicate local status variable declaration. Cc: Bi Dandan <dandan.bi@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang <chao.b.zhang@intel.com> Reviewed-by: Bi Dandan <dandan.bi@intel.com>
Diffstat (limited to 'SecurityPkg')
-rw-r--r--SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c
index 1317dca3d9..a45f5cb740 100644
--- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c
+++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c
@@ -522,7 +522,6 @@ Tcg2Callback (
if (Action == EFI_BROWSER_ACTION_CHANGING) {
if (QuestionId == KEY_TPM_DEVICE_INTERFACE) {
- EFI_STATUS Status;
Status = SetPtpInterface ((VOID *) (UINTN) PcdGet64 (PcdTpmBaseAddress), Value->u8);
if (EFI_ERROR (Status)) {
CreatePopUp (