]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/UfsPciHc: Remove unused field in UfsHc private struct
authorHao Wu <hao.a.wu@intel.com>
Mon, 24 Apr 2017 05:22:29 +0000 (13:22 +0800)
committerHao Wu <hao.a.wu@intel.com>
Tue, 25 Apr 2017 01:08:28 +0000 (09:08 +0800)
The commit removes the unused field 'EFI_HANDLE  Handle' in Ufs host
controller private data structure 'UFS_HOST_CONTROLLER_PRIVATE_DATA'.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.c
MdeModulePkg/Bus/Pci/UfsPciHcDxe/UfsPciHcDxe.h

index 23ebbf108f09498d7ba9f5e42a426dbf03ddeb35..373e55b4c29d204320b55c33995fafb7deb719f8 100644 (file)
@@ -2,7 +2,7 @@
   UfsHcDxe driver is used to provide platform-dependent info, mainly UFS host controller\r
   MMIO base, to upper layer UFS drivers.\r
 \r
-  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -32,7 +32,6 @@ EFI_DRIVER_BINDING_PROTOCOL gUfsHcDriverBinding = {
 //\r
 UFS_HOST_CONTROLLER_PRIVATE_DATA gUfsHcTemplate = {\r
   UFS_HC_PRIVATE_DATA_SIGNATURE,  // Signature\r
-  NULL,                           // Handle\r
   {                               // UfsHcProtocol\r
     UfsHcGetMmioBar,\r
     UfsHcAllocateBuffer,\r
index 89f19feb7aa725322f5c52dbdaa708428626e4b4..d9d977a5c9192d430cfa611bd9657dca86e6a899 100644 (file)
@@ -2,7 +2,7 @@
   UfsHcDxe driver is used to provide platform-dependent info, mainly UFS host controller\r
   MMIO base, to upper layer UFS drivers.\r
 \r
-  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -49,11 +49,10 @@ extern EFI_COMPONENT_NAME2_PROTOCOL               gUfsHcComponentName2;
 typedef struct _UFS_HOST_CONTROLLER_PRIVATE_DATA  UFS_HOST_CONTROLLER_PRIVATE_DATA;\r
 \r
 //\r
-// Nvme private data structure.\r
+// Ufs host controller private data structure.\r
 //\r
 struct _UFS_HOST_CONTROLLER_PRIVATE_DATA {\r
   UINT32                             Signature;\r
-  EFI_HANDLE                         Handle;\r
 \r
   EDKII_UFS_HOST_CONTROLLER_PROTOCOL UfsHc;\r
   EFI_PCI_IO_PROTOCOL                *PciIo;  \r