mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
MdeModulePkg: BootMaintenanceManagerUiLib: 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
59ddab7e6e
commit
8192be265e
@ -867,9 +867,6 @@ BootMaintCallback (
|
|||||||
BMM_CALLBACK_DATA *Private;
|
BMM_CALLBACK_DATA *Private;
|
||||||
BM_MENU_ENTRY *NewMenuEntry;
|
BM_MENU_ENTRY *NewMenuEntry;
|
||||||
BMM_FAKE_NV_DATA *CurrentFakeNVMap;
|
BMM_FAKE_NV_DATA *CurrentFakeNVMap;
|
||||||
UINTN OldValue;
|
|
||||||
UINTN NewValue;
|
|
||||||
UINTN Number;
|
|
||||||
UINTN Index;
|
UINTN Index;
|
||||||
EFI_DEVICE_PATH_PROTOCOL * File;
|
EFI_DEVICE_PATH_PROTOCOL * File;
|
||||||
|
|
||||||
@ -879,9 +876,6 @@ BootMaintCallback (
|
|||||||
//
|
//
|
||||||
return EFI_UNSUPPORTED;
|
return EFI_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
OldValue = 0;
|
|
||||||
NewValue = 0;
|
|
||||||
Number = 0;
|
|
||||||
|
|
||||||
Private = BMM_CALLBACK_DATA_FROM_THIS (This);
|
Private = BMM_CALLBACK_DATA_FROM_THIS (This);
|
||||||
//
|
//
|
||||||
|
@ -581,7 +581,6 @@ UpdateOrderPage (
|
|||||||
UINT16 Index;
|
UINT16 Index;
|
||||||
UINT16 OptionIndex;
|
UINT16 OptionIndex;
|
||||||
VOID *OptionsOpCodeHandle;
|
VOID *OptionsOpCodeHandle;
|
||||||
BM_LOAD_CONTEXT *NewLoadContext;
|
|
||||||
BOOLEAN BootOptionFound;
|
BOOLEAN BootOptionFound;
|
||||||
UINT32 *OptionOrder;
|
UINT32 *OptionOrder;
|
||||||
EFI_QUESTION_ID QuestionId;
|
EFI_QUESTION_ID QuestionId;
|
||||||
@ -619,7 +618,6 @@ UpdateOrderPage (
|
|||||||
BootOptionFound = FALSE;
|
BootOptionFound = FALSE;
|
||||||
for (Index = 0; Index < OptionMenu->MenuNumber; Index++) {
|
for (Index = 0; Index < OptionMenu->MenuNumber; Index++) {
|
||||||
NewMenuEntry = BOpt_GetMenuEntry (OptionMenu, Index);
|
NewMenuEntry = BOpt_GetMenuEntry (OptionMenu, Index);
|
||||||
NewLoadContext = (BM_LOAD_CONTEXT *) NewMenuEntry->VariableContext;
|
|
||||||
if ((UINT32) (NewMenuEntry->OptionNumber + 1) == OptionOrder[OptionIndex]) {
|
if ((UINT32) (NewMenuEntry->OptionNumber + 1) == OptionOrder[OptionIndex]) {
|
||||||
BootOptionFound = TRUE;
|
BootOptionFound = TRUE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user