From 0629ae291a8ad1488a76bdba4bca18be08a52a09 Mon Sep 17 00:00:00 2001 From: shenglei Date: Wed, 8 Aug 2018 13:35:22 +0800 Subject: 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 Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: shenglei Reviewed-by: Laszlo Ersek Reviewed-by: Star Zeng Reviewed-by: Eric Dong --- MdeModulePkg/Application/UiApp/FrontPage.c | 40 ------------------------------ MdeModulePkg/Application/UiApp/Ui.h | 30 ---------------------- 2 files changed, 70 deletions(-) (limited to 'MdeModulePkg/Application') diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c b/MdeModulePkg/Application/UiApp/FrontPage.c index 2403aad9d9..f0513deb51 100644 --- a/MdeModulePkg/Application/UiApp/FrontPage.c +++ b/MdeModulePkg/Application/UiApp/FrontPage.c @@ -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; -} /** diff --git a/MdeModulePkg/Application/UiApp/Ui.h b/MdeModulePkg/Application/UiApp/Ui.h index a9c30b0c56..7be164570c 100644 --- a/MdeModulePkg/Application/UiApp/Ui.h +++ b/MdeModulePkg/Application/UiApp/Ui.h @@ -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. -- cgit v1.2.3