From 9e6fa6d24598927d90a253e038f7a5d5de994029 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Sun, 24 Aug 2008 05:00:30 +0000 Subject: Clean up DxeMemoryAllocationLib and PeiMemoryAllocationLib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5722 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/DxeHobLib/HobLib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'MdePkg/Library/DxeHobLib/HobLib.c') 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; } /** -- cgit v1.2.3