diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c index 2cb7befe29..e55b5e9e0f 100644 --- a/ShellPkg/Application/Shell/ShellProtocol.c +++ b/ShellPkg/Application/Shell/ShellProtocol.c @@ -1738,10 +1738,7 @@ EfiShellExecute( CHAR16 *Temp; EFI_DEVICE_PATH_PROTOCOL *DevPath; UINTN Size; - EFI_STATUS CalleeStatusCode; - CalleeStatusCode = EFI_SUCCESS; - if ((PcdGet8(PcdShellSupportLevel) < 1)) { return (EFI_UNSUPPORTED); }