summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-07-14 14:27:38 +0800
committerHao Wu <hao.a.wu@intel.com>2016-07-14 15:51:29 +0800
commitd701a9e0ade980806a8af5cf3892b976c3f04251 (patch)
treed274cda36cdb51bb76f1cd9a117edab5a96e53a7
parent5e30d3e8f2ef3d55b4a83686256f4a77f9261bd5 (diff)
downloadedk2-platforms-d701a9e0ade980806a8af5cf3892b976c3f04251.tar.xz
MdeModulePkg DeviceMngr: remove set but unused variables
(Integrate commit 3b93b8070d450eb15679c3454c8329a6a31d8081 from master branch) Cc: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
-rw-r--r--MdeModulePkg/Application/UiApp/DeviceMngr/DeviceManager.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/MdeModulePkg/Application/UiApp/DeviceMngr/DeviceManager.c b/MdeModulePkg/Application/UiApp/DeviceMngr/DeviceManager.c
index 3fcc4c9521..18b2bd7e99 100644
--- a/MdeModulePkg/Application/UiApp/DeviceMngr/DeviceManager.c
+++ b/MdeModulePkg/Application/UiApp/DeviceMngr/DeviceManager.c
@@ -379,7 +379,6 @@ IsNeedAddNetworkMenu (
EFI_STATUS Status;
UINTN EntryCount;
UINTN Index;
- EFI_HII_HANDLE HiiDeviceManagerHandle;
EFI_HANDLE DriverHandle;
EFI_HANDLE ControllerHandle;
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
@@ -388,7 +387,6 @@ IsNeedAddNetworkMenu (
EFI_OPEN_PROTOCOL_INFORMATION_ENTRY *OpenInfoBuffer;
BOOLEAN IsNeedAdd;
- HiiDeviceManagerHandle = gDeviceManagerPrivate.HiiHandle;
IsNeedAdd = FALSE;
OpenInfoBuffer = NULL;
if ((Handle == NULL) || (ItemCount == NULL)) {