public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "gaoliming" <gaoliming@byosoft.com.cn>
To: devel@edk2.groups.io
Cc: Hao A Wu <hao.a.wu@intel.com>, Dandan Bi <dandan.bi@intel.com>
Subject: [PATCH 1/1] MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions
Date: Wed, 30 Dec 2020 14:30:22 +0800	[thread overview]
Message-ID: <20201230063022.1378-1-gaoliming@byosoft.com.cn> (raw)

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



             reply	other threads:[~2020-12-30  6:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30  6:30 gaoliming [this message]
2020-12-30  7:15 ` [edk2-devel] [PATCH 1/1] MdeModulePkg BrotliCustomDecompressLib: Remove the duplicated functions Wu, Hao A

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201230063022.1378-1-gaoliming@byosoft.com.cn \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox