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.93; helo=mga11.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 CDCBD2118EF5E for ; Fri, 9 Nov 2018 09:49:04 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Nov 2018 09:49:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,484,1534834800"; d="scan'208";a="272773714" Received: from orsmsx110.amr.corp.intel.com ([10.22.240.8]) by orsmga005.jf.intel.com with ESMTP; 09 Nov 2018 09:49:03 -0800 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.125]) by ORSMSX110.amr.corp.intel.com ([169.254.10.166]) with mapi id 14.03.0415.000; Fri, 9 Nov 2018 09:49:03 -0800 From: "Kinney, Michael D" To: Laszlo Ersek , Leif Lindholm , "Gao, Liming" , "Cetola, Stephano" , "Kinney, Michael D" CC: "edk2-devel@lists.01.org" Thread-Topic: [edk2] [patch] MdeModulePkg/DisplayEngine: Remove useless NULL ptr check for NewPos Thread-Index: AQHUdv/JQsRxPj1F9USwMJ2jyebYaqVGuNeAgABi7ACAAG7tgIAAQReAgAADhYCAAEuKgIAACEGAgAAI1ID//4P+0IAAileA//9+8QA= Date: Fri, 9 Nov 2018 17:49:02 +0000 Message-ID: References: <20181107145311.42488-1-dandan.bi@intel.com> <0C09AFA07DD0434D9E2A0C6AEB048310401EC2D7@shsmsx102.ccr.corp.intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E367B56@SHSMSX104.ccr.corp.intel.com> <20181109104905.7vowaikh3ifvubdq@bivouac.eciton.net> <1af49731-99eb-fc56-94d1-e9ac2d8db1a7@redhat.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E3682A7@SHSMSX104.ccr.corp.intel.com> <20181109160135.qvx5aznwr5mx2ten@bivouac.eciton.net> <8ff0b8fb-4fe1-9b19-0a9f-0e8d2a400416@redhat.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Subject: Re: [patch] MdeModulePkg/DisplayEngine: Remove useless NULL ptr check for NewPos 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: Fri, 09 Nov 2018 17:49:06 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TGFzemxvLA0KDQpJIGFkZGVkIEVESzJ8RG9jdW1lbnRhdGlvbnxXaWtpIFBhZ2VzDQoNCkkgYWxz byB1cGRhdGVkIHRoZSBzb3J0IG9yZGVyIHNvIFdpa2kgUGFnZXMgaXMNCmZpcnN0LCBmb2xsb3dl ZCBieSBtYWludGFpbmVkIEdpdEJvb2sgZG9jdW1lbnRzDQpzb3J0ZWQgYWxwaGFiZXRpY2FsbHks IHdpdGggIk90aGVyIERvY3VtZW50IiBsYXN0Lg0KDQpUaGFua3MsDQoNCk1pa2UNCg0KPiAtLS0t LU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMYXN6bG8gRXJzZWsgW21haWx0bzpsZXJz ZWtAcmVkaGF0LmNvbV0NCj4gU2VudDogRnJpZGF5LCBOb3ZlbWJlciA5LCAyMDE4IDk6MjQgQU0N Cj4gVG86IEtpbm5leSwgTWljaGFlbCBEIDxtaWNoYWVsL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