MdeModulePkg: Change OPTIONAL keyword usage style

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760

Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.

Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Michael D Kinney
2021-12-02 18:00:49 -08:00
committed by mergify[bot]
parent 9c721071d3
commit e3917e22e7
99 changed files with 381 additions and 408 deletions

View File

@@ -1044,7 +1044,7 @@ DxePcdSetBoolEx (
EFI_STATUS
EFIAPI
DxeRegisterCallBackOnSet (
IN CONST EFI_GUID *Guid, OPTIONAL
IN CONST EFI_GUID *Guid OPTIONAL,
IN UINTN TokenNumber,
IN PCD_PROTOCOL_CALLBACK CallBackFunction
)
@@ -1081,7 +1081,7 @@ DxeRegisterCallBackOnSet (
EFI_STATUS
EFIAPI
DxeUnRegisterCallBackOnSet (
IN CONST EFI_GUID *Guid, OPTIONAL
IN CONST EFI_GUID *Guid OPTIONAL,
IN UINTN TokenNumber,
IN PCD_PROTOCOL_CALLBACK CallBackFunction
)
@@ -1133,7 +1133,7 @@ DxeUnRegisterCallBackOnSet (
EFI_STATUS
EFIAPI
DxePcdGetNextToken (
IN CONST EFI_GUID *Guid, OPTIONAL
IN CONST EFI_GUID *Guid OPTIONAL,
IN OUT UINTN *TokenNumber
)
{
@@ -1374,5 +1374,3 @@ DxePcdGetNextTokenSpace (
return EFI_NOT_FOUND;
}