diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg/Core/Dxe/DxeMain.h index 059a38336a..1e98df9cdf 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain.h +++ b/MdeModulePkg/Core/Dxe/DxeMain.h @@ -2850,12 +2850,6 @@ CoreUpdateProfile ( @param NumberOfPages The number of pages to convert @param NewAttributes The new attributes value for the range. - @retval EFI_INVALID_PARAMETER Invalid parameter - @retval EFI_NOT_FOUND Could not find a descriptor cover the specified - range or convertion not allowed. - @retval EFI_SUCCESS Successfully converts the memory range to the - specified attributes. - **/ VOID CoreUpdateMemoryAttributes ( diff --git a/MdeModulePkg/Core/Dxe/Mem/Page.c b/MdeModulePkg/Core/Dxe/Mem/Page.c index f4ec48ff67..29354b4399 100644 --- a/MdeModulePkg/Core/Dxe/Mem/Page.c +++ b/MdeModulePkg/Core/Dxe/Mem/Page.c @@ -937,12 +937,6 @@ CoreConvertPages ( @param NumberOfPages The number of pages to convert @param NewAttributes The new attributes value for the range. - @retval EFI_INVALID_PARAMETER Invalid parameter - @retval EFI_NOT_FOUND Could not find a descriptor cover the specified - range or convertion not allowed. - @retval EFI_SUCCESS Successfully converts the memory range to the - specified attributes. - **/ VOID CoreUpdateMemoryAttributes (