diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2016-03-17 10:04:08 +0800 |
---|---|---|
committer | Qiu Shumin <shumin.qiu@intel.com> | 2016-03-17 14:35:53 +0800 |
commit | 19c427a7ce6f5e036270543086c3e15c09c27e81 (patch) | |
tree | 79dcb7a1ec843d647b54b0a256c720dd73c025b2 | |
parent | 04c30dd5718d5f927b2ec31010032b2b5a714a2c (diff) | |
download | edk2-19c427a7ce6f5e036270543086c3e15c09c27e81.zip edk2-19c427a7ce6f5e036270543086c3e15c09c27e81.tar.gz edk2-19c427a7ce6f5e036270543086c3e15c09c27e81.tar.bz2 |
ShellPkg: Remove the unused local variable.
Remove the unused local variable to refine the code.
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc:Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
-rw-r--r-- | ShellPkg/Application/Shell/ShellProtocol.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c index 2cb7bef..e55b5e9 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);
}
|