mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
8192be265e
commit
3b93b8070d
|
@ -347,7 +347,6 @@ IsNeedAddNetworkMenu (
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
UINTN EntryCount;
|
UINTN EntryCount;
|
||||||
UINTN Index;
|
UINTN Index;
|
||||||
EFI_HII_HANDLE HiiDeviceManagerHandle;
|
|
||||||
EFI_HANDLE DriverHandle;
|
EFI_HANDLE DriverHandle;
|
||||||
EFI_HANDLE ControllerHandle;
|
EFI_HANDLE ControllerHandle;
|
||||||
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
|
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
|
||||||
|
@ -356,7 +355,6 @@ IsNeedAddNetworkMenu (
|
||||||
EFI_OPEN_PROTOCOL_INFORMATION_ENTRY *OpenInfoBuffer;
|
EFI_OPEN_PROTOCOL_INFORMATION_ENTRY *OpenInfoBuffer;
|
||||||
BOOLEAN IsNeedAdd;
|
BOOLEAN IsNeedAdd;
|
||||||
|
|
||||||
HiiDeviceManagerHandle = gDeviceManagerPrivate.HiiHandle;
|
|
||||||
IsNeedAdd = FALSE;
|
IsNeedAdd = FALSE;
|
||||||
OpenInfoBuffer = NULL;
|
OpenInfoBuffer = NULL;
|
||||||
if ((Handle == NULL) || (ItemCount == NULL)) {
|
if ((Handle == NULL) || (ItemCount == NULL)) {
|
||||||
|
|
Loading…
Reference in New Issue