From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C242C8180C for ; Thu, 5 Jan 2017 17:21:19 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP; 05 Jan 2017 17:21:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,323,1477983600"; d="scan'208";a="805662802" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by FMSMGA003.fm.intel.com with ESMTP; 05 Jan 2017 17:21:19 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 5 Jan 2017 17:21:18 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 5 Jan 2017 17:21:17 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0248.002; Fri, 6 Jan 2017 09:21:11 +0800 From: "Bi, Dandan" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" Thread-Topic: [PATCH] SecurityPkg: Tcg2ConfigDxe: Remove duplicate local variable Thread-Index: AQHSZ7qYfRKHLgKxC0mxoB3Z9YeH9aEqppUA Date: Fri, 6 Jan 2017 01:21:10 +0000 Message-ID: <3C0D5C461C9E904E8F62152F6274C0BB3B88B6C0@shsmsx102.ccr.corp.intel.com> References: <20170106011658.19924-1-chao.b.zhang@intel.com> In-Reply-To: <20170106011658.19924-1-chao.b.zhang@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH] SecurityPkg: Tcg2ConfigDxe: Remove duplicate local variable X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2017 01:21:19 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Dandan Bi Thanks, Dandan -----Original Message----- From: Zhang, Chao B=20 Sent: Friday, January 6, 2017 9:17 AM To: edk2-devel@lists.01.org Cc: Bi, Dandan ; Zhang, Chao B Subject: [PATCH] SecurityPkg: Tcg2ConfigDxe: Remove duplicate local variabl= e Remove duplicate local status variable declaration. Cc: Bi Dandan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang --- 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 ff74aa3..c6762e8 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c @@ -572,7 +572,6 @@ Tcg2Callback ( =20 if (Action =3D=3D EFI_BROWSER_ACTION_CHANGING) { if (QuestionId =3D=3D KEY_TPM_DEVICE_INTERFACE) { - EFI_STATUS Status; Status =3D SetPtpInterface ((VOID *) (UINTN) PcdGet64 (PcdTpmBaseAdd= ress), Value->u8); if (EFI_ERROR (Status)) { CreatePopUp ( --=20 1.9.5.msysgit.1