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

gaoliming gaoliming at byosoft.com.cn
Wed Dec 30 06:30:22 UTC 2020


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 (#69508): https://edk2.groups.io/g/devel/message/69508
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