public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/1] MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions
@ 2020-12-30  6:30 gaoliming
  2020-12-30  7:15 ` [edk2-devel] " Wu, Hao A
  0 siblings, 1 reply; 2+ messages in thread
From: gaoliming @ 2020-12-30  6:30 UTC (permalink / raw)
  To: devel; +Cc: Hao A Wu, Dandan Bi

The same functions have been defined in BrotliDecUefiSupport.c.

Signed-off-by: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Dandan Bi <dandan.bi@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] [PATCH 1/1] MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions
  2020-12-30  6:30 [PATCH 1/1] MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions gaoliming
@ 2020-12-30  7:15 ` Wu, Hao A
  0 siblings, 0 replies; 2+ messages in thread
From: Wu, Hao A @ 2020-12-30  7:15 UTC (permalink / raw)
  To: devel@edk2.groups.io, gaoliming@byosoft.com.cn; +Cc: Bi, Dandan

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

Best Regards,
Hao Wu

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of gaoliming
> Sent: Wednesday, December 30, 2020 2:30 PM
> To: devel@edk2.groups.io
> Cc: Wu, Hao A <hao.a.wu@intel.com>; Bi, Dandan <dandan.bi@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@byosoft.com.cn>
> Cc: Hao A Wu <hao.a.wu@intel.com>
> Cc: Dandan Bi <dandan.bi@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
> 
> 
> 
> 
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-30  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-30  6:30 [PATCH 1/1] MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions gaoliming
2020-12-30  7:15 ` [edk2-devel] " Wu, Hao A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox