[edk2-devel] [PATCH 07/24] DynamicTablesPkg: Remove duplicated words

PierreGondois pierre.gondois at arm.com
Tue Aug 23 16:00:14 UTC 2022


From: Pierre Gondois <pierre.gondois at arm.com>

In an effort to clean the documentation of the above
package, remove duplicated words.

Cc: Sami Mujawar <Sami.Mujawar at arm.com>
Cc: Alexei Fedorov <Alexei.Fedorov at arm.com>
Signed-off-by: Pierre Gondois <pierre.gondois at arm.com>
---
 DynamicTablesPkg/Include/Library/HwInfoParserLib.h              | 2 +-
 .../Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c | 2 +-
 .../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 +-
 .../Library/FdtHwInfoParserLib/Gic/ArmGicDispatcher.c           | 2 +-
 .../Library/FdtHwInfoParserLib/Serial/ArmSerialPortParser.c     | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/DynamicTablesPkg/Include/Library/HwInfoParserLib.h b/DynamicTablesPkg/Include/Library/HwInfoParserLib.h
index 05c21aeac00a..9710f7466170 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 18c8b8d24525..b990686d40a3 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 39cfbad95926..b850320eede7 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 8ceb20ff415e..d199f06cc54d 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 391c72bd322e..8f460a972841 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 8bbf62bbcd24..2b4c60d3ee14 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 e51d2dd7f083..12b6ef62f5cd 100644
--- a/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c
+++ b/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c
@@ -1071,7 +1071,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 35e34e765f71..376de078bcb1 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 831f0d5b7365..1f3af1f968a9 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 0557e416b44c..cfd032df4d74 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;
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92689): https://edk2.groups.io/g/devel/message/92689
Mute This Topic: https://groups.io/mt/93207390/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list