diff --git a/MdePkg/Include/Library/ExtractGuidedSectionLib.h b/MdePkg/Include/Library/ExtractGuidedSectionLib.h index 003fc898ba..01e0ab1f8c 100644 --- a/MdePkg/Include/Library/ExtractGuidedSectionLib.h +++ b/MdePkg/Include/Library/ExtractGuidedSectionLib.h @@ -128,7 +128,6 @@ RETURN_STATUS allocated output buffer. @retval RETURN_SUCCESS The handlers were registered. - @retval RETURN_ALREADY_STARTED Handlers have already been registered for the GUID specified by SectionGuid. @retval RETURN_OUT_OF_RESOURCES There are not enough resources available to register the handlers. **/ diff --git a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c index 9e9cc009ab..775c069609 100644 --- a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c +++ b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c @@ -99,6 +99,7 @@ ExtractGuidedSectionGetGuidList ( Registers the handlers specified by GetInfoHandler and DecodeHandler with the GUID specified by SectionGuid. If the GUID value specified by SectionGuid has already been registered, then return RETURN_ALREADY_STARTED. If there are not enough resources available to register the handlers then RETURN_OUT_OF_RESOURCES is returned. + If SectionGuid is NULL, then ASSERT(). If GetInfoHandler is NULL, then ASSERT(). If DecodeHandler is NULL, then ASSERT(). @@ -112,7 +113,6 @@ ExtractGuidedSectionGetGuidList ( allocated output buffer. @retval RETURN_SUCCESS The handlers were registered. - @retval RETURN_ALREADY_STARTED Handlers have already been registered for the GUID specified by SectionGuid. @retval RETURN_OUT_OF_RESOURCES There are not enough resources available to register the handlers. **/ diff --git a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c index 24bea8a4d5..4da3d8afa1 100644 --- a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c +++ b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c @@ -180,7 +180,6 @@ ExtractGuidedSectionGetGuidList ( allocated output buffer. @retval RETURN_SUCCESS The handlers were registered. - @retval RETURN_ALREADY_STARTED Handlers have already been registered for the GUID specified by SectionGuid. @retval RETURN_OUT_OF_RESOURCES There are not enough resources available to register the handlers. **/