summaryrefslogtreecommitdiff
path: root/MdePkg/Library/DxeHobLib/HobLib.c
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-24 05:00:30 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-24 05:00:30 +0000
commit9e6fa6d24598927d90a253e038f7a5d5de994029 (patch)
tree62341c7e4a7d9a09eed49498336cc6fb5088ca3d /MdePkg/Library/DxeHobLib/HobLib.c
parent822a6944bcfc11b562bf6599a4649ddd285dc08a (diff)
downloadedk2-platforms-9e6fa6d24598927d90a253e038f7a5d5de994029.tar.xz
Clean up DxeMemoryAllocationLib and PeiMemoryAllocationLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5722 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/DxeHobLib/HobLib.c')
-rw-r--r--MdePkg/Library/DxeHobLib/HobLib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/MdePkg/Library/DxeHobLib/HobLib.c b/MdePkg/Library/DxeHobLib/HobLib.c
index e13469534a..810bfa5fbf 100644
--- a/MdePkg/Library/DxeHobLib/HobLib.c
+++ b/MdePkg/Library/DxeHobLib/HobLib.c
@@ -34,7 +34,8 @@ STATIC VOID *mHobList = NULL;
@param ImageHandle The firmware allocated handle for the EFI image.
@param SystemTable A pointer to the EFI System Table.
- @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
+ @retval EFI_SUCCESS The constructor successfully gets HobList.
+ @retval Other value The constructor can't get HobList.
**/
EFI_STATUS
@@ -50,7 +51,7 @@ HobLibConstructor (
ASSERT_EFI_ERROR (Status);
ASSERT (mHobList != NULL);
- return EFI_SUCCESS;
+ return Status;
}
/**