summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanjinmoorthyj <nanjinmoorthyj@ami.com>2025-07-09 19:19:41 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-07-25 09:57:50 +0000
commit47e818016a8e360ccdea0c01f5af5f5d0f13de80 (patch)
treeb7b7266671b9aa14ca254587208a01fc5e8625b5
parent97b0f1ea3b424115c2a1ee8c0d728b0f741ca61e (diff)
downloadedk2-master.zip
edk2-master.tar.gz
edk2-master.tar.bz2
ShellPkg/Library: Remove unecessary error checkHEADmaster
Remove the error handling from the connect.c file as it is redundant. Signed-off-by: Nanjinmoorthy <nanjinmoorthyj@ami.com>
-rw-r--r--ShellPkg/Library/UefiShellDriver1CommandsLib/Connect.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/Connect.c b/ShellPkg/Library/UefiShellDriver1CommandsLib/Connect.c
index 4f39863..3bec32b 100644
--- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Connect.c
+++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Connect.c
@@ -520,10 +520,6 @@ ShellCommandRunConnect (
}
Handle1 = ConvertHandleIndexToHandle ((UINTN)Intermediate);
- if (EFI_ERROR (Status)) {
- ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_GEN_INV_HANDLE), gShellDriver1HiiHandle, L"connect", Param1);
- ShellStatus = SHELL_INVALID_PARAMETER;
- }
} else {
Handle1 = NULL;
}