[edk2] [PATCH edk2-platforms] Silicon/Hisilicon/SasV1Dxe: remove bogus UncachedMemoryAllocationLib ref

Ard Biesheuvel posted 1 patch 7 years, 3 months ago
Failed in applying to current master (apply log)
Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c   | 1 -
Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf | 1 -
2 files changed, 2 deletions(-)
[edk2] [PATCH edk2-platforms] Silicon/Hisilicon/SasV1Dxe: remove bogus UncachedMemoryAllocationLib ref
Posted by Ard Biesheuvel 7 years, 3 months ago
This driver does not actually use UncachedMemoryAllocationLib anymore,
so remove the bogus reference.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
 Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c   | 1 -
 Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf | 1 -
 2 files changed, 2 deletions(-)

diff --git a/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c b/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c
index 18085c43c54e..d876565a7d23 100644
--- a/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c
+++ b/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c
@@ -26,7 +26,6 @@
 #include <Library/TimerLib.h>
 #include <Library/UefiBootServicesTableLib.h>
 #include <Library/UefiLib.h>
-#include <Library/UncachedMemoryAllocationLib.h>
 
 #include <Protocol/PlatformSasProtocol.h>
 #include <Protocol/ScsiPassThruExt.h>
diff --git a/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf b/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf
index 7e65cc819cee..fe0be239b735 100644
--- a/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf
+++ b/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf
@@ -39,7 +39,6 @@
   TimerLib
   UefiDriverEntryPoint
   UefiLib
-  UncachedMemoryAllocationLib
 
 [Protocols]
   gEfiExtScsiPassThruProtocolGuid
-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH edk2-platforms] Silicon/Hisilicon/SasV1Dxe: remove bogus UncachedMemoryAllocationLib ref
Posted by Leif Lindholm 7 years, 3 months ago
On Tue, Aug 29, 2017 at 04:08:07PM +0100, Ard Biesheuvel wrote:
> This driver does not actually use UncachedMemoryAllocationLib anymore,
> so remove the bogus reference.
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

> ---
>  Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c   | 1 -
>  Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c b/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c
> index 18085c43c54e..d876565a7d23 100644
> --- a/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c
> +++ b/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.c
> @@ -26,7 +26,6 @@
>  #include <Library/TimerLib.h>
>  #include <Library/UefiBootServicesTableLib.h>
>  #include <Library/UefiLib.h>
> -#include <Library/UncachedMemoryAllocationLib.h>
>  
>  #include <Protocol/PlatformSasProtocol.h>
>  #include <Protocol/ScsiPassThruExt.h>
> diff --git a/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf b/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf
> index 7e65cc819cee..fe0be239b735 100644
> --- a/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf
> +++ b/Silicon/Hisilicon/Drivers/SasV1Dxe/SasV1Dxe.inf
> @@ -39,7 +39,6 @@
>    TimerLib
>    UefiDriverEntryPoint
>    UefiLib
> -  UncachedMemoryAllocationLib
>  
>  [Protocols]
>    gEfiExtScsiPassThruProtocolGuid
> -- 
> 2.11.0
> 
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel