]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Remove the unused local variable.
authorQiu Shumin <shumin.qiu@intel.com>
Thu, 17 Mar 2016 02:04:08 +0000 (10:04 +0800)
committerQiu Shumin <shumin.qiu@intel.com>
Thu, 17 Mar 2016 06:35:53 +0000 (14:35 +0800)
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>
ShellPkg/Application/Shell/ShellProtocol.c

index 2cb7befe29ea49031419545cdd69fe538b861ad8..e55b5e9e0f22a19d92770e92dd9b44b8fe49a5c7 100644 (file)
@@ -1738,10 +1738,7 @@ EfiShellExecute(
   CHAR16                    *Temp;\r
   EFI_DEVICE_PATH_PROTOCOL  *DevPath;\r
   UINTN                     Size;\r
-  EFI_STATUS                CalleeStatusCode;\r
 \r
-  CalleeStatusCode = EFI_SUCCESS;\r
-  \r
   if ((PcdGet8(PcdShellSupportLevel) < 1)) {\r
     return (EFI_UNSUPPORTED);\r
   }\r