Skip to content

Commit cf5f907

Browse files
GowthamM9974mergify[bot]
authored andcommitted
ShellPkg: Deprecate EFI_UNICODE_COLLATION_PROTOCOL_GUID
As EFI_UNICODE_COLLATION_PROTOCOL_GUID is being deprecated. Remove the instances used in ShellPkg. Cc: Sachin Ganesh <sachinganesh@ami.com> Signed-off-by: Gowtham M <gowthamm@ami.com>
1 parent a46697f commit cf5f907

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

ShellPkg/Application/Shell/Shell.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -971,14 +971,7 @@ ProcessCommandLine (
971971
(VOID **)&UnicodeCollation
972972
);
973973
if (EFI_ERROR (Status)) {
974-
Status = gBS->LocateProtocol (
975-
&gEfiUnicodeCollationProtocolGuid,
976-
NULL,
977-
(VOID **)&UnicodeCollation
978-
);
979-
if (EFI_ERROR (Status)) {
980-
return Status;
981-
}
974+
return Status;
982975
}
983976

984977
// Set default options

ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,6 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
22492249
{ STRING_TOKEN (STR_TAPE_IO), &gEfiTapeIoProtocolGuid, NULL },
22502250
{ STRING_TOKEN (STR_DISK_IO), &gEfiDiskIoProtocolGuid, NULL },
22512251
{ STRING_TOKEN (STR_BLK_IO), &gEfiBlockIoProtocolGuid, BlockIoProtocolDumpInformation },
2252-
{ STRING_TOKEN (STR_UC), &gEfiUnicodeCollationProtocolGuid, NULL },
22532252
{ STRING_TOKEN (STR_UC2), &gEfiUnicodeCollation2ProtocolGuid, NULL },
22542253
{ STRING_TOKEN (STR_PCIRB_IO), &gEfiPciRootBridgeIoProtocolGuid, PciRootBridgeIoDumpInformation },
22552254
{ STRING_TOKEN (STR_PCI_IO), &gEfiPciIoProtocolGuid, PciIoProtocolDumpInformation },

ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
gEfiTapeIoProtocolGuid ## UNDEFINED
8383
gEfiDiskIoProtocolGuid ## UNDEFINED
8484
gEfiBlockIoProtocolGuid ## UNDEFINED
85-
gEfiUnicodeCollationProtocolGuid ## UNDEFINED
8685
gEfiPciRootBridgeIoProtocolGuid ## UNDEFINED
8786
gEfiPciIoProtocolGuid ## UNDEFINED
8887
gEfiScsiPassThruProtocolGuid ## UNDEFINED

0 commit comments

Comments
 (0)