From a4037690d9199663acb0c01ffd265159f676aac9 Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Tue, 23 Aug 2022 18:00:15 +0200 Subject: [PATCH] EmbeddedPkg: Remove duplicated words In an effort to clean the documentation of the above package, remove duplicated words. Signed-off-by: Pierre Gondois Reviewed-by: Leif Lindholm Reviewed-by: Abner Chang --- EmbeddedPkg/GdbStub/SerialIo.c | 2 +- EmbeddedPkg/Include/Library/GdbSerialLib.h | 2 +- EmbeddedPkg/Include/Library/RealTimeClockLib.h | 2 +- .../Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 2 +- EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c | 2 +- EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c | 2 +- .../Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c | 2 +- EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/EmbeddedPkg/GdbStub/SerialIo.c b/EmbeddedPkg/GdbStub/SerialIo.c index 9970ab687e..98ea611e8b 100644 --- a/EmbeddedPkg/GdbStub/SerialIo.c +++ b/EmbeddedPkg/GdbStub/SerialIo.c @@ -283,7 +283,7 @@ GdbSerialReset ( data buts, and stop bits on a serial device. @param This Protocol instance pointer. - @param BaudRate The requested baud rate. A BaudRate value of 0 will use the the + @param BaudRate The requested baud rate. A BaudRate value of 0 will use the device's default interface speed. @param ReceiveFifoDepth The requested depth of the FIFO on the receive side of the serial interface. A ReceiveFifoDepth value of 0 will use diff --git a/EmbeddedPkg/Include/Library/GdbSerialLib.h b/EmbeddedPkg/Include/Library/GdbSerialLib.h index 4845d6018c..58c3a5643c 100644 --- a/EmbeddedPkg/Include/Library/GdbSerialLib.h +++ b/EmbeddedPkg/Include/Library/GdbSerialLib.h @@ -15,7 +15,7 @@ data buts, and stop bits on a serial device. This call is optional as the serial port will be set up with defaults base on PCD values. - @param BaudRate The requested baud rate. A BaudRate value of 0 will use the the + @param BaudRate The requested baud rate. A BaudRate value of 0 will use the device's default interface speed. @param Parity The type of parity to use on this serial device. A Parity value of DefaultParity will use the device's default parity value. diff --git a/EmbeddedPkg/Include/Library/RealTimeClockLib.h b/EmbeddedPkg/Include/Library/RealTimeClockLib.h index 9cc26c40a8..ff45e26d6c 100644 --- a/EmbeddedPkg/Include/Library/RealTimeClockLib.h +++ b/EmbeddedPkg/Include/Library/RealTimeClockLib.h @@ -39,7 +39,7 @@ LibGetTime ( @retval EFI_SUCCESS The operation completed successfully. @retval EFI_INVALID_PARAMETER A time field is out of range. - @retval EFI_DEVICE_ERROR The time could not be set due due to hardware error. + @retval EFI_DEVICE_ERROR The time could not be set due to hardware error. **/ EFI_STATUS diff --git a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c index d53a5fe47f..334eb77607 100644 --- a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c +++ b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c @@ -51,7 +51,7 @@ GdbSerialLibDebugPortConstructor ( data buts, and stop bits on a serial device. This call is optional as the serial port will be set up with defaults base on PCD values. - @param BaudRate The requested baud rate. A BaudRate value of 0 will use the the + @param BaudRate The requested baud rate. A BaudRate value of 0 will use the device's default interface speed. @param Parity The type of parity to use on this serial device. A Parity value of DefaultParity will use the device's default parity value. diff --git a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c index 75e00773ec..dea05c3440 100644 --- a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c +++ b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c @@ -78,7 +78,7 @@ GdbSerialLibConstructor ( data buts, and stop bits on a serial device. This call is optional as the serial port will be set up with defaults base on PCD values. - @param BaudRate The requested baud rate. A BaudRate value of 0 will use the the + @param BaudRate The requested baud rate. A BaudRate value of 0 will use the device's default interface speed. @param Parity The type of parity to use on this serial device. A Parity value of DefaultParity will use the device's default parity value. diff --git a/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c b/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c index 7e8aaf28f6..cb5025914e 100644 --- a/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c +++ b/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c @@ -48,7 +48,7 @@ LibGetTime ( @retval EFI_SUCCESS The operation completed successfully. @retval EFI_INVALID_PARAMETER A time field is out of range. - @retval EFI_DEVICE_ERROR The time could not be set due due to hardware error. + @retval EFI_DEVICE_ERROR The time could not be set due to hardware error. **/ EFI_STATUS diff --git a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c index fe963a315a..685e590980 100644 --- a/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c +++ b/EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.c @@ -233,7 +233,7 @@ LibGetTime ( @retval EFI_SUCCESS The operation completed successfully. @retval EFI_INVALID_PARAMETER A time field is out of range. - @retval EFI_DEVICE_ERROR The time could not be set due due to hardware error. + @retval EFI_DEVICE_ERROR The time could not be set due to hardware error. **/ EFI_STATUS diff --git a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c index 308e8cfca4..7adb732405 100644 --- a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c +++ b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c @@ -74,7 +74,7 @@ GetTime ( @retval EFI_SUCCESS The operation completed successfully. @retval EFI_INVALID_PARAMETER A time field is out of range. - @retval EFI_DEVICE_ERROR The time could not be set due due to hardware error. + @retval EFI_DEVICE_ERROR The time could not be set due to hardware error. **/ EFI_STATUS -- 2.39.2