summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/DeviceManagerUiLib
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-03-18 20:31:02 +0100
committerLaszlo Ersek <lersek@redhat.com>2016-03-25 10:52:29 +0100
commit3b93b8070d450eb15679c3454c8329a6a31d8081 (patch)
tree4138e6ecb6da454179f560ee6058811c8691d670 /MdeModulePkg/Library/DeviceManagerUiLib
parent8192be265ee142d4a71cc9024a2ce0060a3d686d (diff)
downloadedk2-3b93b8070d450eb15679c3454c8329a6a31d8081.tar.gz
edk2-3b93b8070d450eb15679c3454c8329a6a31d8081.tar.bz2
edk2-3b93b8070d450eb15679c3454c8329a6a31d8081.zip
MdeModulePkg: DeviceManagerUiLib: remove set but unused variables
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>
Diffstat (limited to 'MdeModulePkg/Library/DeviceManagerUiLib')
-rw-r--r--MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c b/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c
index bfab83ac86..0de4e3c0c5 100644
--- a/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c
+++ b/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c
@@ -347,7 +347,6 @@ IsNeedAddNetworkMenu (
EFI_STATUS Status;
UINTN EntryCount;
UINTN Index;
- EFI_HII_HANDLE HiiDeviceManagerHandle;
EFI_HANDLE DriverHandle;
EFI_HANDLE ControllerHandle;
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
@@ -356,7 +355,6 @@ IsNeedAddNetworkMenu (
EFI_OPEN_PROTOCOL_INFORMATION_ENTRY *OpenInfoBuffer;
BOOLEAN IsNeedAdd;
- HiiDeviceManagerHandle = gDeviceManagerPrivate.HiiHandle;
IsNeedAdd = FALSE;
OpenInfoBuffer = NULL;
if ((Handle == NULL) || (ItemCount == NULL)) {