Check the return status of booting against EFI_SUCCESS instead of using EFI_ERROR() macro to catch the warning status.
Check the return status of booting against EFI_SUCCESS instead of using EFI_ERROR() macro to catch the warning status.

Signed-off-by: niruiyu
Reviewed-by: li-elvin

git-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@12668 6f19259b-4bc3-4df7-8a09-765794883524

MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2