[edk2-devel] [PATCH 1/1] MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions

Wu, Hao A hao.a.wu at intel.com
Wed Dec 30 07:15:46 UTC 2020


Reviewed-by: Hao A Wu <hao.a.wu at intel.com>

Best Regards,
Hao Wu

> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of gaoliming
> Sent: Wednesday, December 30, 2020 2:30 PM
> To: devel at edk2.groups.io
> Cc: Wu, Hao A <hao.a.wu at intel.com>; Bi, Dandan <dandan.bi at intel.com>
> Subject: [edk2-devel] [PATCH 1/1] MdeModulePkg BrotliCustomDecompressLib:
> Remove the duplicated functions
> 
> The same functions have been defined in BrotliDecUefiSupport.c.
> 
> Signed-off-by: Liming Gao <gaoliming at byosoft.com.cn>
> Cc: Hao A Wu <hao.a.wu at intel.com>
> Cc: Dandan Bi <dandan.bi at intel.com>
> ---
>  .../BrotliDecompress.c                        | 23 -------------------
>  1 file changed, 23 deletions(-)
> 
> diff --git
> a/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c
> b/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c
> index 512518699e4c..53e2255f5ffd 100644
> --- a/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c
> +++ b/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c
> @@ -7,29 +7,6 @@
>  **/
>  #include <BrotliDecompressLibInternal.h>
> 
> -/**
> -  Dummy malloc function for compiler.
> -**/
> -VOID *
> -BrDummyMalloc (
> -  IN size_t    Size
> -  )
> -{
> -  ASSERT (FALSE);
> -  return NULL;
> -}
> -
> -/**
> -  Dummy free function for compiler.
> -**/
> -VOID
> -BrDummyFree (
> -  IN VOID *    Ptr
> -  )
> -{
> -  ASSERT (FALSE);
> -}
> -
>  /**
>    Allocation routine used by BROTLI decompression.
> 
> --
> 2.27.0.windows.1
> 
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69509): https://edk2.groups.io/g/devel/message/69509
Mute This Topic: https://groups.io/mt/79308048/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list