mirror of https://github.com/acidanthera/audk.git
MdeModulePkg UiApp: Remove redundant functions
The functions that are never called have been removed. They are EnableResetReminderFeature, DisableResetReminderFeature and DisableResetRequired. https://bugzilla.tianocore.org/show_bug.cgi?id=1062 Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: shenglei <shenglei.zhang@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
This commit is contained in:
parent
d82ebaa340
commit
0629ae291a
|
@ -1042,34 +1042,7 @@ UiEntry (
|
|||
//
|
||||
|
||||
|
||||
/**
|
||||
Enable the setup browser reset reminder feature.
|
||||
This routine is used in platform tip. If the platform policy need the feature, use the routine to enable it.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
EnableResetReminderFeature (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
mFeaturerSwitch = TRUE;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Disable the setup browser reset reminder feature.
|
||||
This routine is used in platform tip. If the platform policy do not want the feature, use the routine to disable it.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DisableResetReminderFeature (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
mFeaturerSwitch = FALSE;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
@ -1087,19 +1060,6 @@ EnableResetRequired (
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
Record the info that no reset is required.
|
||||
A module boolean variable is used to record whether a reset is required.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DisableResetRequired (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
mResetRequired = FALSE;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -53,27 +53,7 @@ typedef struct {
|
|||
//
|
||||
//The interface functions related to the Setup Browser Reset Reminder feature
|
||||
//
|
||||
/**
|
||||
Enable the setup browser reset reminder feature.
|
||||
This routine is used in a platform tip. If the platform policy needs the feature, use the routine to enable it.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
EnableResetReminderFeature (
|
||||
VOID
|
||||
);
|
||||
|
||||
/**
|
||||
Disable the setup browser reset reminder feature.
|
||||
This routine is used in a platform tip. If the platform policy does not want the feature, use the routine to disable it.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DisableResetReminderFeature (
|
||||
VOID
|
||||
);
|
||||
|
||||
/**
|
||||
Record the info that a reset is required.
|
||||
|
@ -87,16 +67,6 @@ EnableResetRequired (
|
|||
);
|
||||
|
||||
|
||||
/**
|
||||
Record the info that no reset is required.
|
||||
A module boolean variable is used to record whether a reset is required.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DisableResetRequired (
|
||||
VOID
|
||||
);
|
||||
|
||||
/**
|
||||
Check whether platform policy enables the reset reminder feature. The default is enabled.
|
||||
|
|
Loading…
Reference in New Issue