diff mbox series

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

Message ID 20170829150807.12122-1-ard.biesheuvel@linaro.org
State New
Headers show
Series [edk2,edk2-platforms] Silicon/Hisilicon/SasV1Dxe: remove bogus UncachedMemoryAllocationLib ref | expand

Commit Message

Ard Biesheuvel Aug. 29, 2017, 3:08 p.m. UTC
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(-)

-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Leif Lindholm Aug. 29, 2017, 3:19 p.m. UTC | #1
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
diff mbox series

Patch

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