From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 2E74E21A0483A for ; Sun, 23 Apr 2017 22:51:14 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2017 22:51:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,243,1488873600"; d="scan'208";a="252638521" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 23 Apr 2017 22:51:13 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 23 Apr 2017 22:51:13 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 23 Apr 2017 22:51:12 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.246]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.224]) with mapi id 14.03.0319.002; Mon, 24 Apr 2017 13:51:08 +0800 From: "Zeng, Star" To: "Wu, Hao A" , "edk2-devel@lists.01.org" CC: "Zeng, Star" Thread-Topic: [PATCH 1/2] MdeModulePkg/UfsPciHc: Remove unused field in UfsHc private struct Thread-Index: AQHSvL4dMBYNxnPjJUS8c31J1qhCtqHUA+lQ Date: Mon, 24 Apr 2017 05:51:07 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B87DA69@shsmsx102.ccr.corp.intel.com> References: <20170424054557.6992-1-hao.a.wu@intel.com> <20170424054557.6992-2-hao.a.wu@intel.com> In-Reply-To: <20170424054557.6992-2-hao.a.wu@intel.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 Subject: Re: [PATCH 1/2] MdeModulePkg/UfsPciHc: Remove unused field in UfsHc private struct 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, 24 Apr 2017 05:51:14 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng Thanks, Star -----Original Message----- From: Wu, Hao A=20 Sent: Monday, April 24, 2017 1:46 PM To: edk2-devel@lists.01.org Cc: Wu, Hao A ; Zeng, Star Subject: [PATCH 1/2] MdeModulePkg/UfsPciHc: Remove unused field in UfsHc pr= ivate struct The commit removes the unused field 'EFI_HANDLE Handle' in Ufs host contro= ller private data structure 'UFS_HOST_CONTROLLER_PRIVATE_DATA'. Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu --- MdeModulePkg/Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.c | 3 +-- MdeModulePkg/Bus/P= ci/UfsPciHcDxe/UfsPciHcDxe.h | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.c b/MdeModulePkg/= Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.c index 23ebbf108f..373e55b4c2 100644 --- a/MdeModulePkg/Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.c +++ b/MdeModulePkg/Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.c @@ -2,7 +2,7 @@ UfsHcDxe driver is used to provide platform-dependent info, mainly UFS h= ost controller MMIO base, to upper layer UFS drivers. =20 - Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2017, Intel Corporation. All rights=20 + reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BS= D License which accompanies this distribution. The full text of the license may b= e found at @@ -32,7 +32,6 @@ EFI_DRIVER_BINDING_PROTOCOL gUfsHcDriverBindin= g =3D { // UFS_HOST_CONTROLLER_PRIVATE_DATA gUfsHcTemplate =3D { UFS_HC_PRIVATE_DATA_SIGNATURE, // Signature - NULL, // Handle { // UfsHcProtocol UfsHcGetMmioBar, UfsHcAllocateBuffer, diff --git a/MdeModulePkg/Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.h b/MdeModulePkg/= Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.h index 89f19feb7a..d9d977a5c9 100644 --- a/MdeModulePkg/Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.h +++ b/MdeModulePkg/Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.h @@ -2,7 +2,7 @@ UfsHcDxe driver is used to provide platform-dependent info, mainly UFS h= ost controller MMIO base, to upper layer UFS drivers. =20 - Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2017, Intel Corporation. All rights=20 + reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BS= D License which accompanies this distribution. The full text of the license may b= e found at @@ -49,11 +49,10 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gUfsH= cComponentName2; typedef struct _UFS_HOST_CONTROLLER_PRIVATE_DATA UFS_HOST_CONTROLLER_PRIV= ATE_DATA; =20 // -// Nvme private data structure. +// Ufs host controller private data structure. // struct _UFS_HOST_CONTROLLER_PRIVATE_DATA { UINT32 Signature; - EFI_HANDLE Handle; =20 EDKII_UFS_HOST_CONTROLLER_PROTOCOL UfsHc; EFI_PCI_IO_PROTOCOL *PciIo; =20 -- 2.12.0.windows.1