From 60c9860c43beb1f50ea0e86bccbc9d26aae1ae5b Mon Sep 17 00:00:00 2001 From: "Zhang, Chao B" Date: Fri, 6 Jan 2017 09:13:13 +0800 Subject: [PATCH] SecurityPkg: Tcg2ConfigDxe: Remove duplicate local variable Remove duplicate local status variable declaration. Cc: Bi Dandan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang Reviewed-by: Bi Dandan --- SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c | 1 - 1 file changed, 1 deletion(-) 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 ( -- 2.39.2