diff mbox

[edk2,16/35] MdeModulePkg: DeviceManagerUiLib: remove set but unused variables

Message ID 1458815844-24793-17-git-send-email-lersek@redhat.com
State Accepted
Commit 3b93b8070d450eb15679c3454c8329a6a31d8081
Headers show

Commit Message

Laszlo Ersek March 24, 2016, 10:37 a.m. UTC
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>

---
 MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c | 2 --
 1 file changed, 2 deletions(-)

-- 
1.8.3.1


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c b/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManager.c
index bfab83ac867e..0de4e3c0c587 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)) {