diff options
Diffstat (limited to 'MdeModulePkg/Core/PiSmmCore/Locate.c')
-rw-r--r-- | MdeModulePkg/Core/PiSmmCore/Locate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Core/PiSmmCore/Locate.c b/MdeModulePkg/Core/PiSmmCore/Locate.c index 585d3c8253..ca95ee4e17 100644 --- a/MdeModulePkg/Core/PiSmmCore/Locate.c +++ b/MdeModulePkg/Core/PiSmmCore/Locate.c @@ -321,14 +321,13 @@ SmmLocateHandle ( break;
case ByRegisterNotify:
+ GetNext = SmmGetNextLocateByRegisterNotify;
//
// Must have SearchKey for locate ByRegisterNotify
//
if (SearchKey == NULL) {
Status = EFI_INVALID_PARAMETER;
- break;
}
- GetNext = SmmGetNextLocateByRegisterNotify;
break;
case ByProtocol:
|