Simplify BlpDebugPutChar return path

This commit is contained in:
Aiken Harris 2025-09-04 10:56:17 +02:00
parent c2a4ad026a
commit 7e039c47ae
Signed by: harraiken
GPG Key ID: C40F06CB7493C1F5

View File

@ -78,10 +78,7 @@ BlpDebugPutChar(IN WCHAR Character)
/* Write character to the serial console */ /* Write character to the serial console */
Buffer[0] = Character; Buffer[0] = Character;
Buffer[1] = 0; Buffer[1] = 0;
HlComPortPutByte(&BlpStatus.SerialPort, Buffer[0]); return HlComPortPutByte(&BlpStatus.SerialPort, Buffer[0]);
/* Return success */
return STATUS_EFI_SUCCESS;
} }
/** /**