diff --git a/StandaloneMmPkg/Core/Dependency.c b/StandaloneMmPkg/Core/Dependency.c index 0a77ceb20c..891e78424c 100644 --- a/StandaloneMmPkg/Core/Dependency.c +++ b/StandaloneMmPkg/Core/Dependency.c @@ -182,12 +182,10 @@ MmIsSchedulable ( if (DriverEntry->Depex == NULL) { // - // A NULL Depex means that the MM driver is not built correctly. - // All MM drivers must have a valid depex expression. + // If there is no DEPEX, assume the module can be executed // - DEBUG ((DEBUG_DISPATCH, " RESULT = FALSE (Depex is empty)\n")); - ASSERT (FALSE); - return FALSE; + DEBUG ((DEBUG_DISPATCH, " RESULT = TRUE (No DEPEX)\n")); + return TRUE; } //