summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c46
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h31
2 files changed, 0 insertions, 77 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
index 13c829afb5..f3cc8d9ce9 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
@@ -368,52 +368,6 @@ ConvertStringToGuid (
return (EFI_SUCCESS);
}
-CHAR16 TempBufferCatSPrint[1000];
-/**
- Appends a formatted Unicode string to a Null-terminated Unicode string
-
- This function appends a formatted Unicode string to the Null-terminated
- Unicode string specified by String. String is optional and may be NULL.
- Storage for the formatted Unicode string returned is allocated using
- AllocateZeroPool(). The pointer to the appended string is returned. The caller
- is responsible for freeing the returned string.
-
- If String is not NULL and not aligned on a 16-bit boundary, then ASSERT().
- If Format is NULL, then ASSERT().
- If Format is not aligned on a 16-bit boundary, then ASSERT().
-
- @param String A null-terminated Unicode string.
- @param FormatString A null-terminated Unicode format string.
- @param ... The variable argument list whose contents are accessed based
- on the format string specified by Format.
-
- @retval NULL There was not enough available memory.
- @return Null terminated Unicode string is that is the formatted
- string appended to String.
- @sa CatVSPrint
-**/
-CHAR16*
-EFIAPI
-CatSPrint (
- IN CONST CHAR16 *String OPTIONAL,
- IN CONST CHAR16 *FormatString,
- ...
- )
-{
- VA_LIST Marker;
- UINTN StringLength;
- if (String != NULL) {
- StrCpy(TempBufferCatSPrint, String);
- } else {
- *TempBufferCatSPrint = CHAR_NULL;
- }
- VA_START (Marker, FormatString);
- StringLength = StrLen(TempBufferCatSPrint);
-
- UnicodeVSPrint(TempBufferCatSPrint+StrLen(TempBufferCatSPrint), 1000-StringLength, FormatString, Marker);
- return (AllocateCopyPool(StrSize(TempBufferCatSPrint), TempBufferCatSPrint));
-}
-
/**
Clear the line at the specified Row.
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h
index 3967768d1a..3db03c8fab 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.h
@@ -361,37 +361,6 @@ ShellCommandRunHexEdit (
IN EFI_SYSTEM_TABLE *SystemTable
);
-/**
- Appends a formatted Unicode string to a Null-terminated Unicode string
-
- This function appends a formatted Unicode string to the Null-terminated
- Unicode string specified by String. String is optional and may be NULL.
- Storage for the formatted Unicode string returned is allocated using
- AllocateZeroPool(). The pointer to the appended string is returned. The caller
- is responsible for freeing the returned string.
-
- If String is not NULL and not aligned on a 16-bit boundary, then ASSERT().
- If Format is NULL, then ASSERT().
- If Format is not aligned on a 16-bit boundary, then ASSERT().
-
- @param String A null-terminated Unicode string.
- @param FormatString A null-terminated Unicode format string.
- @param ... The variable argument list whose contents are accessed based
- on the format string specified by Format.
-
- @retval NULL There was not enough available memory.
- @return Null terminated Unicode string is that is the formatted
- string appended to String.
- @sa CatVSPrint
-**/
-CHAR16*
-EFIAPI
-CatSPrint (
- IN CONST CHAR16 *String OPTIONAL,
- IN CONST CHAR16 *FormatString,
- ...
- );
-
/**
Clear the line at the specified Row.