From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=qin.long@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 22631202E59C8 for ; Sun, 22 Oct 2017 19:58:59 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Oct 2017 20:02:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,420,1503385200"; d="scan'208,217";a="1208786203" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 22 Oct 2017 20:02:41 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 22 Oct 2017 20:02:41 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 22 Oct 2017 20:02:40 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by shsmsx102.ccr.corp.intel.com ([169.254.2.175]) with mapi id 14.03.0319.002; Mon, 23 Oct 2017 11:02:38 +0800 From: "Long, Qin" To: Peter Jones , Laszlo Ersek CC: "edk2-devel@lists.01.org" , "Shi, Steven" , "Ye, Ting" Thread-Topic: [edk2] [PATCH v1 1/1] CryptoPkg/BaseCryptLib: remove some duplicate initializations. Thread-Index: AQHTSbWcQM32uhiMfUebZF8zdgE456Lsc5OAgAATeYCABDwfsA== Date: Mon, 23 Oct 2017 03:02:38 +0000 Message-ID: References: <20171020151018.785-1-pjones@redhat.com> <0a2c301c-58a8-ecf7-8d1a-40dd5ab8bc8e@redhat.com> <20171020182147.4rsisbduvvjweb2z@redhat.com> In-Reply-To: <20171020182147.4rsisbduvvjweb2z@redhat.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Re: [PATCH v1 1/1] CryptoPkg/BaseCryptLib: remove some duplicate initializations. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 02:59:00 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 VGhpcyBsb29rcyBnb29kIHRvIG1lLg0KUmV2aWV3ZWQtYnk6IExvbmcgUWluIHFpbi5sb25nQGlu dGVsLmNvbTxtYWlsdG86cWluLmxvbmdAaW50ZWwuY29tPg0KDQoNCkJlc3QgUmVnYXJkcyAmIFRo YW5rcywNCkxPTkcsIFFpbg0KDQpGcm9tOiBQZXRlciBKb25lcyBbbWFpbHRvOnBqb25lc0ByZWRo YXQuY29tXQ0KU2VudDogU2F0dXJkYXksIE9jdG9iZXIgMjEsIDIwMTcgMjoyMiBBTQ0KVG86IExh c3psbyBFcnNlayA8bGVyc2VrQHJlZGhhdC5jb20+DQpDYzogZWRrMi1kZXZlbEBsaXN0cy4wMS5v cmc7IFNoaSwgU3RldmVuIDxzdGV2ZW4uc2hpQGludGVsLmNvbT47IExvbmcsIFFpbiA8cWluLmxv bmdAaW50ZWwuY29tPjsgWWUsIFRpbmcgPHRpbmcueWVAaW50ZWwuY29tPg0KU3ViamVjdDogUmU6 IFtlZGsyXSBbUEFUQ0ggdjEgMS8xXSBDcnlwdG9Qa2cvQmFzZUNyeXB0TGliOiByZW1vdmUgc29t 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