mirror of https://github.com/acidanthera/audk.git
StandaloneMmPkg/StandaloneMmCoreEntryPoint: remove bogus ASSERT_EFI_ERROR()s
ASSERT_EFI_ERROR (x) is a shorthand for ASSERT(!EFI_ERROR(x)), and so it should only be used with EFI_STATUS type expressions. So drop two instances that operate on other types, since neither looks particularly useful. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Supreeth Venkatesh <supreeth.venkatesh@arm.com> Reviewed-by: Achin Gupta <achin.gupta@arm.com>
This commit is contained in:
parent
41915a19a7
commit
d2f438bf6a
|
@ -295,7 +295,6 @@ _ModuleEntryPoint (
|
|||
//
|
||||
ProcessModuleEntryPointList (HobStart);
|
||||
|
||||
ASSERT_EFI_ERROR (CpuDriverEntryPoint);
|
||||
DEBUG ((DEBUG_INFO, "Shared Cpu Driver EP 0x%lx\n", (UINT64) CpuDriverEntryPoint));
|
||||
|
||||
finish:
|
||||
|
@ -303,5 +302,4 @@ finish:
|
|||
InitMmFoundationSvcArgs.Arg0 = ARM_SVC_ID_SP_EVENT_COMPLETE_AARCH64;
|
||||
InitMmFoundationSvcArgs.Arg1 = Status;
|
||||
DelegatedEventLoop (&InitMmFoundationSvcArgs);
|
||||
ASSERT_EFI_ERROR (0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue