]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions
authorgaoliming <gaoliming@byosoft.com.cn>
Wed, 30 Dec 2020 06:30:22 +0000 (14:30 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 6 Jan 2021 07:15:09 +0000 (07:15 +0000)
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>
MdeModulePkg/Library/BrotliCustomDecompressLib/BrotliDecompress.c

index 512518699e4cd51858cddf7d150af4eb137a1190..53e2255f5ffda7ecdb491d1a0edc5e837de6eca8 100644 (file)
@@ -7,29 +7,6 @@
 **/\r
 #include <BrotliDecompressLibInternal.h>\r
 \r
-/**\r
-  Dummy malloc function for compiler.\r
-**/\r
-VOID *\r
-BrDummyMalloc (\r
-  IN size_t    Size\r
-  )\r
-{\r
-  ASSERT (FALSE);\r
-  return NULL;\r
-}\r
-\r
-/**\r
-  Dummy free function for compiler.\r
-**/\r
-VOID\r
-BrDummyFree (\r
-  IN VOID *    Ptr\r
-  )\r
-{\r
-  ASSERT (FALSE);\r
-}\r
-\r
 /**\r
   Allocation routine used by BROTLI decompression.\r
 \r