From: Laszlo Ersek <lersek@redhat.com>
To: Shenglei Zhang <shenglei.zhang@intel.com>, edk2-devel@lists.01.org
Cc: Jaben Carsey <jaben.carsey@intel.com>, Ruiyu Ni <ruiyu.ni@intel.com>
Subject: Re: [PATCH v2] ShellPkg/UefiShellDebug1CommandsLib: Remove the unused function CharToUpper
Date: Fri, 14 Dec 2018 10:54:07 +0100 [thread overview]
Message-ID: <567ce971-8afb-8e29-3843-fd0c2b9f36a1@redhat.com> (raw)
In-Reply-To: <20181214075632.29988-1-shenglei.zhang@intel.com>
On 12/14/18 08:56, Shenglei Zhang wrote:
> CharToUpper is an unused function, so it will be removed.
> https://bugzilla.tianocore.org/show_bug.cgi?id=1399
>
> v2:Update the title.
>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Cc: Jaben Carsey <jaben.carsey@intel.com>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
> ---
> .../UefiShellDebug1CommandsLib.c | 28 -------------------
> 1 file changed, 28 deletions(-)
>
> diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
> index bd4dfa98f7..480441b0f9 100644
> --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
> +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
> @@ -113,34 +113,6 @@ UefiShellDebug1CommandsLibDestructor (
> return (EFI_SUCCESS);
> }
>
> -/**
> - Convert a Unicode character to upper case only if
> - it maps to a valid small-case ASCII character.
> -
> - This internal function only deal with Unicode character
> - which maps to a valid small-case ASCII character, i.e.
> - L'a' to L'z'. For other Unicode character, the input character
> - is returned directly.
> -
> - @param Char The character to convert.
> -
> - @retval LowerCharacter If the Char is with range L'a' to L'z'.
> - @retval Unchanged Otherwise.
> -
> -
> - //Stolen from MdePkg Baselib
> -**/
> -CHAR16
> -CharToUpper (
> - IN CHAR16 Char
> - )
> -{
> - if (Char >= L'a' && Char <= L'z') {
> - return (CHAR16) (Char - (L'a' - L'A'));
> - }
> -
> - return Char;
> -}
>
> /**
> Function returns a system configuration table that is stored in the
>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Thanks!
Laszlo
next prev parent reply other threads:[~2018-12-14 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-14 7:56 [PATCH v2] ShellPkg/UefiShellDebug1CommandsLib: Remove the unused function CharToUpper Shenglei Zhang
2018-12-14 9:54 ` Laszlo Ersek [this message]
2018-12-14 16:10 ` Carsey, Jaben
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=567ce971-8afb-8e29-3843-fd0c2b9f36a1@redhat.com \
--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