From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.3562.1609309841004449798 for ; Tue, 29 Dec 2020 22:30:42 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from localhost.localdomain ([119.3.119.19]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 30 Dec 2020 14:30:32 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: devel@edk2.groups.io Cc: Hao A Wu , Dandan Bi Subject: [PATCH 1/1] MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions Date: Wed, 30 Dec 2020 14:30:22 +0800 Message-Id: <20201230063022.1378-1-gaoliming@byosoft.com.cn> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The same functions have been defined in BrotliDecUefiSupport.c. Signed-off-by: Liming Gao Cc: Hao A Wu Cc: Dandan Bi --- .../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 -/** - 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