summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg/Library
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2022-09-06 10:28:59 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-12-13 14:30:20 +0000
commit11ce7a2de7549306a853cc3fe3abe6ef8f874b40 (patch)
tree9ceab81df205baa91e9375fd5b59bb061c9c6d1e /DynamicTablesPkg/Library
parent5890a18409a0e67a491c600b930e6c904ad3b3fd (diff)
downloadedk2-11ce7a2de7549306a853cc3fe3abe6ef8f874b40.tar.gz
edk2-11ce7a2de7549306a853cc3fe3abe6ef8f874b40.tar.bz2
edk2-11ce7a2de7549306a853cc3fe3abe6ef8f874b40.zip
DynamicTablesPkg: Remove duplicated words
In an effort to clean the documentation of the above package, remove duplicated words. Cc: Sami Mujawar <Sami.Mujawar@arm.com> Cc: Alexei Fedorov <Alexei.Fedorov@arm.com> Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'DynamicTablesPkg/Library')
-rw-r--r--DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c2
-rw-r--r--DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtSerialPortLibArm/SsdtSerialPortGenerator.c2
-rw-r--r--DynamicTablesPkg/Library/Common/AmlLib/AmlNodeDefines.h2
-rw-r--r--DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.c2
-rw-r--r--DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApiHelper.h2
-rw-r--r--DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c2
-rw-r--r--DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParser.c2
-rw-r--r--DynamicTablesPkg/Library/FdtHwInfoParserLib/Gic/ArmGicDispatcher.c2
-rw-r--r--DynamicTablesPkg/Library/FdtHwInfoParserLib/Serial/ArmSerialPortParser.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c
index 18c8b8d245..b990686d40 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 39cfbad959..b850320eed 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 8ceb20ff41..d199f06cc5 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 391c72bd32..8f460a9728 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 8bbf62bbcd..2b4c60d3ee 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 7e67482f99..0b223379fa 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 35e34e765f..376de078bc 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 831f0d5b73..1f3af1f968 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 0557e416b4..cfd032df4d 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;