From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.100; helo=mga07.intel.com; envelope-from=hao.a.wu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 82912211799CC for ; Tue, 16 Oct 2018 00:55:03 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Oct 2018 00:55:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,387,1534834800"; d="scan'208";a="100607639" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 16 Oct 2018 00:55:02 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 16 Oct 2018 00:55:02 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 16 Oct 2018 00:55:02 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.48]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.245]) with mapi id 14.03.0319.002; Tue, 16 Oct 2018 15:55:00 +0800 From: "Wu, Hao A" To: "Zeng, Star" , "edk2-devel@lists.01.org" CC: "Ni, Ruiyu" Thread-Topic: [edk2] [PATCH v1 7/7] MdeModulePkg/UdfDxe: Handle dead codes in FileSystemOperations.c Thread-Index: AQHUZENZkLSGNKX0KUSr/2qjQH1+PaUg7OSAgAAOPACAAIc5cA== Date: Tue, 16 Oct 2018 07:55:00 +0000 Message-ID: References: <20181015045522.18732-1-hao.a.wu@intel.com> <20181015045522.18732-8-hao.a.wu@intel.com> In-Reply-To: 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 Subject: Re: [PATCH v1 7/7] MdeModulePkg/UdfDxe: Handle dead codes in FileSystemOperations.c X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2018 07:55:03 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBaZW5nLCBTdGFyDQo+IFNlbnQ6 IFR1ZXNkYXksIE9jdG9iZXIgMTYsIDIwMTggMzo1MCBQTQ0KPiBUbzogV3UsIEhhbyBBOyBlZGsy LWRldmVsQGxpc3RzLjAxLm9yZw0KPiBDYzogTmksIFJ1aXl1OyBaZW5nLCBTdGFyDQo+IFN1Ympl Y3Q6IFJlOiBbZWRrMl0gW1BBVENIIHYxIDcvN10gTWRlTW9kdWxlUGtnL1VkZkR4ZTogSGFuZGxl IGRlYWQNCj4gY29kZXMgaW4gRmlsZVN5c3RlbU9wZXJhdGlvbnMuYw0KPiANCj4gT24gMjAxOC8x MC8xNiAxNDo1OSwgWmVuZywgU3RhciB3cm90ZToNCj4gPiBPbiAyMDE4LzEwLzE1IDEyOjU1LCBI YW8gV3Ugd3JvdGU6DQo+ID4+IFJFRjpodHRwczovL2J1Z3ppbGxhLnRpYW5vY29yZS5vcmcvc2hv d19idWcuY2dpP2lkPTEyNDkNCj4gPj4NCj4gPj4gV2UgZm91bmQgcG90ZW50aWFsIGRlYWQgY29k ZXMgd2l0aGluIEZpbGUuYyBkdXJpbmcgdGhlIGNvZ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