Skip to content
Commit 2ba36b2f authored by Dandan Bi's avatar Dandan Bi Committed by Star Zeng
Browse files

MdeModulePkg: Refine the code in BootMaintenanceManagerUiLib



Refine the code in function Var_UpdateDriverOption and Var_UpdateBootOption,
use the existed API(EfiBootManagerInitializeLoadOption and
EfiBootManagerAddLoadOptionVariable) supplied by UefiBootManagerLib
to replace the same logic in the two functions. And remove the useless
code.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: default avatarDandan Bi <dandan.bi@intel.com>
Reviewed-by: default avatarEric Dong <eric.dong@intel.com>
Reviewed-by: default avatarLiming Gao <liming.gao@intel.com>
parent 3a2718d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment