Simplify BlpDebugPutChar return path

This commit is contained in:
2025-09-04 10:56:17 +02:00
parent c2a4ad026a
commit 7e039c47ae

View File

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