]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg/UefiShellDebug1CommandsLib: Remove the unused function CharToUpper
authorShenglei Zhang <shenglei.zhang@intel.com>
Thu, 13 Dec 2018 05:31:55 +0000 (13:31 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 18 Dec 2018 03:38:51 +0000 (11:38 +0800)
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>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c

index bd4dfa98f796f08910f9f7a7afb4acdd45157c85..480441b0f92678f2da6592ad3355599e75cc5b6d 100644 (file)
@@ -113,34 +113,6 @@ UefiShellDebug1CommandsLibDestructor (
   return (EFI_SUCCESS);\r
 }\r
 \r
-/**\r
-  Convert a Unicode character to upper case only if\r
-  it maps to a valid small-case ASCII character.\r
-\r
-  This internal function only deal with Unicode character\r
-  which maps to a valid small-case ASCII character, i.e.\r
-  L'a' to L'z'. For other Unicode character, the input character\r
-  is returned directly.\r
-\r
-  @param  Char  The character to convert.\r
-\r
-  @retval LowerCharacter   If the Char is with range L'a' to L'z'.\r
-  @retval Unchanged        Otherwise.\r
-\r
-\r
-  //Stolen from MdePkg Baselib\r
-**/\r
-CHAR16\r
-CharToUpper (\r
-  IN      CHAR16                    Char\r
-  )\r
-{\r
-  if (Char >= L'a' && Char <= L'z') {\r
-    return (CHAR16) (Char - (L'a' - L'A'));\r
-  }\r
-\r
-  return Char;\r
-}\r
 \r
 /**\r
   Function returns a system configuration table that is stored in the\r