]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressPassthru.c
MdeModulePkg: Source fixes and cleanup for ARMGCC compiles
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / NvmExpressDxe / NvmExpressPassthru.c
index 4320549ed4f48a9f51baf28c8b36658edcddf1ed..468785807f5491bc26642dba3a2418bb220a8c78 100644 (file)
@@ -2,6 +2,7 @@
   NvmExpressDxe driver is used to manage non-volatile memory subsystem which follows\r
   NVM Express specification.\r
 \r
+  (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>\r
   Copyright (c) 2013, 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
@@ -852,7 +853,6 @@ NvmExpressBuildDevicePath (
   IN OUT EFI_DEVICE_PATH_PROTOCOL                    **DevicePath\r
   )\r
 {\r
-  NVME_CONTROLLER_PRIVATE_DATA   *Private;\r
   NVME_NAMESPACE_DEVICE_PATH     *Node;\r
 \r
   //\r
@@ -862,8 +862,6 @@ NvmExpressBuildDevicePath (
     return EFI_INVALID_PARAMETER;\r
   }\r
 \r
-  Private = NVME_CONTROLLER_PRIVATE_DATA_FROM_PASS_THRU (This);\r
-\r
   if (NamespaceId == 0) {\r
     return EFI_NOT_FOUND;\r
   }\r