summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgaoliming <gaoliming@byosoft.com.cn>2020-12-30 14:30:22 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-01-06 07:15:09 +0000
commit67e0e4caa5bacdd65327d8b302eace2d9ebd209f (patch)
tree721c4b7b56938166737c208514dc6d65001545f1
parentdf77614e543e324f5d726234238eb4ff6f782d8f (diff)
downloadedk2-67e0e4caa5bacdd65327d8b302eace2d9ebd209f.tar.gz
edk2-67e0e4caa5bacdd65327d8b302eace2d9ebd209f.tar.bz2
edk2-67e0e4caa5bacdd65327d8b302eace2d9ebd209f.zip
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> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
-rw-r--r--MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c b/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c
index 512518699e..53e2255f5f 100644
--- a/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c
+++ b/MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c
@@ -8,29 +8,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.
@param Ptr Pointer to the BROTLI_BUFF instance.