From: Zhang, Chao B Date: Fri, 6 Jan 2017 01:13:13 +0000 (+0800) Subject: SecurityPkg: Tcg2ConfigDxe: Remove duplicate local variable X-Git-Tag: edk2-stable201903~4822 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=60c9860c43beb1f50ea0e86bccbc9d26aae1ae5b 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 --- 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 (