Browse Source

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>
Pierre Gondois 1 year ago
parent
commit
11ce7a2de7

+ 1 - 1
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.
 

+ 1 - 1
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;
 

+ 1 - 1
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;
 

+ 1 - 1
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.
 */

+ 1 - 1
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.

+ 1 - 1
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.

+ 1 - 1
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

+ 1 - 1
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.
 

+ 1 - 1
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;

+ 1 - 1
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;