summaryrefslogtreecommitdiff
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-03-09 11:15:38 +0800
commit0f01c809406001dfbaf3926939e037c574b95d46 (patch)
tree29a3205f1e4a74834462cfad697c49448fbfa2f0
parent845db7d4f5fabf979271c2d5af1c68d5f250ceb2 (diff)
downloadedk2-0f01c809406001dfbaf3926939e037c574b95d46.zip
edk2-0f01c809406001dfbaf3926939e037c574b95d46.tar.gz
edk2-0f01c809406001dfbaf3926939e037c574b95d46.tar.bz2
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>
-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 e28d6c2..ef6aec1 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 (