From 11ce7a2de7549306a853cc3fe3abe6ef8f874b40 Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Tue, 6 Sep 2022 10:28:59 +0200 Subject: DynamicTablesPkg: Remove duplicated words In an effort to clean the documentation of the above package, remove duplicated words. Cc: Sami Mujawar Cc: Alexei Fedorov Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- DynamicTablesPkg/Include/Library/HwInfoParserLib.h | 2 +- .../Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c | 2 +- .../Library/Acpi/Arm/AcpiSsdtSerialPortLibArm/SsdtSerialPortGenerator.c | 2 +- DynamicTablesPkg/Library/Common/AmlLib/AmlNodeDefines.h | 2 +- DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.c | 2 +- DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.h | 2 +- DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c | 2 +- DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParser.c | 2 +- DynamicTablesPkg/Library/FdtHwInfoParserLib/Gic/ArmGicDispatcher.c | 2 +- .../Library/FdtHwInfoParserLib/Serial/ArmSerialPortParser.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'DynamicTablesPkg') diff --git a/DynamicTablesPkg/Include/Library/HwInfoParserLib.h b/DynamicTablesPkg/Include/Library/HwInfoParserLib.h index 05c21ae..9710f74 100644 --- a/DynamicTablesPkg/Include/Library/HwInfoParserLib.h +++ b/DynamicTablesPkg/Include/Library/HwInfoParserLib.h @@ -83,7 +83,7 @@ HwInfoParse ( ); /** Cleanup any internal state and resources that were allocated - by the the HwInfoParser. + by the HwInfoParser. @param [in] ParserHandle A handle to the parser instance. diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c index 18c8b8d..b990686 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c @@ -587,7 +587,7 @@ BuildSsdtCmn600TableEx ( return Status; } - // Setup the table list early so that that appropriate cleanup + // Setup the table list early so that appropriate cleanup // can be done in case of failure. *Table = TableList; diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtSerialPortLibArm/SsdtSerialPortGenerator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtSerialPortLibArm/SsdtSerialPortGenerator.c index 39cfbad..b850320 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtSerialPortLibArm/SsdtSerialPortGenerator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtSerialPortLibArm/SsdtSerialPortGenerator.c @@ -239,7 +239,7 @@ BuildSsdtSerialPortTableEx ( return Status; } - // Setup the table list early so that that appropriate cleanup + // Setup the table list early so that appropriate cleanup // can be done in case of failure. *Table = TableList; diff --git a/DynamicTablesPkg/Library/Common/AmlLib/AmlNodeDefines.h b/DynamicTablesPkg/Library/Common/AmlLib/AmlNodeDefines.h index 8ceb20f..d199f06 100644 --- a/DynamicTablesPkg/Library/Common/AmlLib/AmlNodeDefines.h +++ b/DynamicTablesPkg/Library/Common/AmlLib/AmlNodeDefines.h @@ -34,7 +34,7 @@ typedef AML_NODE_HEADER *AML_NODE_HANDLE; /** AML root node. - The root node is unique and at the head of of tree. It is a fake node used + The root node is unique and at the head of tree. It is a fake node used to maintain the list of AML statements (stored as object nodes) which are at the first scope level. */ diff --git a/DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.c b/DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.c index 391c72b..8f460a9 100644 --- a/DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.c +++ b/DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.c @@ -27,7 +27,7 @@ of NameSegs that have less that 4 chars, like "DEV". "DEV" will be expanded as "DEV_". - An AML NameString is not NULL terminated and is is only composed of + An AML NameString is not NULL terminated and is only composed of 4 chars long NameSegs. @param [in] NameOpNode NameOp object node defining a variable. diff --git a/DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.h b/DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.h index 8bbf62b..2b4c60d 100644 --- a/DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.h +++ b/DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.h @@ -19,7 +19,7 @@ of NameSegs that have less that 4 chars, like "DEV". "DEV" will be expanded as "DEV_". - An AML NameString is not NULL terminated and is is only composed of + An AML NameString is not NULL terminated and is only composed of 4 chars long NameSegs. @param [in] NameOpNode NameOp object node defining a variable. diff --git a/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c b/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c index 7e67482..0b22337 100644 --- a/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c +++ b/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c @@ -1072,7 +1072,7 @@ AmlAddPrtEntry ( goto error_handler; } - // Append to the the list of _PRT entries. + // Append to the list of _PRT entries. Status = AmlVarListAddTail ( (AML_NODE_HANDLE)PrtEntryList, (AML_NODE_HANDLE)PackageNode diff --git a/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParser.c b/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParser.c index 35e34e7..376de07 100644 --- a/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParser.c +++ b/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParser.c @@ -168,7 +168,7 @@ HwInfoParse ( } /** Cleanup any internal state and resources that were allocated - by the the HwInfoParser. + by the HwInfoParser. @param [in] ParserHandle A handle to the parser instance. diff --git a/DynamicTablesPkg/Library/FdtHwInfoParserLib/Gic/ArmGicDispatcher.c b/DynamicTablesPkg/Library/FdtHwInfoParserLib/Gic/ArmGicDispatcher.c index 831f0d5..1f3af1f 100644 --- a/DynamicTablesPkg/Library/FdtHwInfoParserLib/Gic/ArmGicDispatcher.c +++ b/DynamicTablesPkg/Library/FdtHwInfoParserLib/Gic/ArmGicDispatcher.c @@ -130,7 +130,7 @@ ArmGicDispatcher ( Fdt = FdtParserHandle->Fdt; - // The "cpus" node resides at the the root of the DT. Fetch it. + // The "cpus" node resides at the root of the DT. Fetch it. CpusNode = fdt_path_offset (Fdt, "/cpus"); if (CpusNode < 0) { return EFI_NOT_FOUND; diff --git a/DynamicTablesPkg/Library/FdtHwInfoParserLib/Serial/ArmSerialPortParser.c b/DynamicTablesPkg/Library/FdtHwInfoParserLib/Serial/ArmSerialPortParser.c index 0557e41..cfd032d 100644 --- a/DynamicTablesPkg/Library/FdtHwInfoParserLib/Serial/ArmSerialPortParser.c +++ b/DynamicTablesPkg/Library/FdtHwInfoParserLib/Serial/ArmSerialPortParser.c @@ -278,7 +278,7 @@ GetSerialConsoleNode ( return EFI_INVALID_PARAMETER; } - // The "chosen" node resides at the the root of the DT. Fetch it. + // The "chosen" node resides at the root of the DT. Fetch it. ChosenNode = fdt_path_offset (Fdt, "/chosen"); if (ChosenNode < 0) { return EFI_NOT_FOUND; -- cgit v1.1