From: Pierre Gondois <pierre.gond...@arm.com>

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

Cc: Jian J Wang <jian.j.w...@intel.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>
---
 MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c                  |  2 +-
 MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.c               |  2 +-
 .../Pci/NonDiscoverablePciDeviceDxe/ComponentName.c  |  4 ++--
 .../Bus/Pci/PciBusDxe/PciEnumeratorSupport.c         |  2 +-
 MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c               | 12 ++++++------
 MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h               | 12 ++++++------
 .../Bus/Pci/SataControllerDxe/ComponentName.c        |  4 ++--
 .../Bus/Pci/SataControllerDxe/SataController.h       |  4 ++--
 MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.c               |  2 +-
 MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.h               |  2 +-
 MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c                  |  4 ++--
 MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h                  |  2 +-
 MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c             |  8 ++++----
 MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c               |  2 +-
 MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c             |  6 +++---
 MdeModulePkg/Core/Dxe/DxeMain.h                      |  2 +-
 MdeModulePkg/Core/Dxe/Mem/Page.c                     |  4 ++--
 MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c        |  2 +-
 MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c      |  2 +-
 MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c     |  6 +++---
 MdeModulePkg/Include/Guid/MdeModuleHii.h             |  2 +-
 .../Include/Library/DisplayUpdateProgressLib.h       |  2 +-
 MdeModulePkg/Include/Library/UefiBootManagerLib.h    |  2 +-
 .../DisplayUpdateProgressLibGraphics.c               |  4 ++--
 .../DisplayUpdateProgressLibText.c                   |  2 +-
 .../Library/PiDxeS3BootScriptLib/BootScriptSave.c    |  4 ++--
 MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c     |  2 +-
 MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c  |  2 +-
 MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c     |  2 +-
 MdeModulePkg/Library/UefiHiiLib/HiiLib.c             |  2 +-
 MdeModulePkg/Library/UefiHiiLib/HiiString.c          |  2 +-
 MdeModulePkg/Universal/BdsDxe/BdsEntry.c             |  2 +-
 MdeModulePkg/Universal/BdsDxe/Language.c             |  2 +-
 MdeModulePkg/Universal/CapsulePei/UefiCapsule.c      |  4 ++--
 .../Universal/Console/ConSplitterDxe/ComponentName.c |  2 +-
 .../Universal/Console/ConSplitterDxe/ConSplitter.h   |  2 +-
 .../Universal/DebugSupportDxe/Ia32/AsmFuncs.nasm     |  2 +-
 .../Universal/DebugSupportDxe/X64/AsmFuncs.nasm      |  2 +-
 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c       |  2 +-
 .../Universal/DisplayEngineDxe/FormDisplay.c         |  2 +-
 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c          |  2 +-
 .../FvSimpleFileSystemDxe/FvSimpleFileSystem.c       |  2 +-
 .../FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf  |  2 +-
 .../FvSimpleFileSystemEntryPoint.c                   |  4 ++--
 .../Universal/HiiDatabaseDxe/ConfigRouting.c         |  2 +-
 .../PlatformDriOverrideDxe/PlatDriOverrideLib.c      |  2 +-
 MdeModulePkg/Universal/SerialDxe/SerialIo.c          |  4 ++--
 .../Universal/SetupBrowserDxe/Presentation.c         |  2 +-
 48 files changed, 75 insertions(+), 75 deletions(-)

diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c 
b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
index 0b7270f4e930..a872dd833fd1 100644
--- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
+++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
@@ -812,7 +812,7 @@ ON_EXIT:
                                 from or receive into.
   @param  DataLength            The lenght of the data buffer.
   @param  DataToggle            On input, the initial data toggle for the 
transfer;
-                                On output, it is updated to to next data 
toggle to
+                                On output, it is updated to next data toggle to
                                 use of the subsequent bulk transfer.
   @param  TimeOut               Indicates the maximum time, in millisecond, 
which
                                 the transfer is allowed to complete.
diff --git a/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.c 
b/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.c
index 37dd9012e277..3ead647ed1a1 100644
--- a/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.c
+++ b/MdeModulePkg/Bus/Pci/EhciPei/EhcPeim.c
@@ -529,7 +529,7 @@ EhcInitHC (
                                 from or receive into.
   @param  DataLength            The lenght of the data buffer.
   @param  DataToggle            On input, the initial data toggle for the 
transfer;
-                                On output, it is updated to to next data 
toggle to use of
+                                On output, it is updated to next data toggle 
to use of
                                 the subsequent bulk transfer.
   @param  TimeOut               Indicates the maximum time, in millisecond, 
which the
                                 transfer is allowed to complete.
diff --git a/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/ComponentName.c 
b/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/ComponentName.c
index af1b2e5526bc..1cb5789052ad 100644
--- a/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/ComponentName.c
+++ b/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/ComponentName.c
@@ -29,7 +29,7 @@ EFI_COMPONENT_NAME_PROTOCOL  gComponentName;
 
   @param This           A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
   @param Language       A pointer to a three character ISO 639-2 language 
identifier.
-                        This is the language of the driver name that that the 
caller
+                        This is the language of the driver name that the caller
                         is requesting, and it must match one of the languages 
specified
                         in SupportedLanguages.  The number of languages 
supported by a
                         driver is up to the driver writer.
@@ -79,7 +79,7 @@ NonDiscoverablePciGetDriverName (
                                 that wishes to retrieve the name of a child 
controller.
   @param Language               A pointer to a three character ISO 639-2 
language
                                 identifier.  This is the language of the 
controller name
-                                that that the caller is requesting, and it 
must match one
+                                that the caller is requesting, and it must 
match one
                                 of the languages specified in 
SupportedLanguages.  The
                                 number of languages supported by a driver is 
up to the
                                 driver writer.
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c 
b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
index 509f828b621d..bc901f1f0a4e 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
@@ -1085,7 +1085,7 @@ PciSetDeviceAttribute (
     // When this attribute is clear, the RomImage and RomSize fields in the 
PCI IO were
     // initialized based on the PCI option ROM found through the ROM BAR of 
the PCI controller.
     // When this attribute is set, the PCI option ROM described by the 
RomImage and RomSize
-    // fields is not from the the ROM BAR of the PCI controller.
+    // fields is not from the ROM BAR of the PCI controller.
     //
     if (!PciIoDevice->EmbeddedRom) {
       Attributes |= EFI_PCI_IO_ATTRIBUTE_EMBEDDED_ROM;
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c 
b/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c
index 843815d0cb18..cd464b44f3b0 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c
@@ -73,12 +73,12 @@ InitializePciIoInstance (
 **/
 EFI_STATUS
 PciIoVerifyBarAccess (
-  IN PCI_IO_DEVICE                 *PciIoDevice,
-  IN UINT8                         BarIndex,
-  IN PCI_BAR_TYPE                  Type,
-  IN IN EFI_PCI_IO_PROTOCOL_WIDTH  Width,
-  IN IN UINTN                      Count,
-  IN UINT64                        *Offset
+  IN PCI_IO_DEVICE              *PciIoDevice,
+  IN UINT8                      BarIndex,
+  IN PCI_BAR_TYPE               Type,
+  IN EFI_PCI_IO_PROTOCOL_WIDTH  Width,
+  IN UINTN                      Count,
+  IN UINT64                     *Offset
   )
 {
   if ((UINT32)Width >= EfiPciIoWidthMaximum) {
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h 
b/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h
index a73bd06bcf0a..3d4a37fb2d99 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h
@@ -37,12 +37,12 @@ InitializePciIoInstance (
 **/
 EFI_STATUS
 PciIoVerifyBarAccess (
-  IN PCI_IO_DEVICE                 *PciIoDevice,
-  IN UINT8                         BarIndex,
-  IN PCI_BAR_TYPE                  Type,
-  IN IN EFI_PCI_IO_PROTOCOL_WIDTH  Width,
-  IN IN UINTN                      Count,
-  IN UINT64                        *Offset
+  IN PCI_IO_DEVICE              *PciIoDevice,
+  IN UINT8                      BarIndex,
+  IN PCI_BAR_TYPE               Type,
+  IN EFI_PCI_IO_PROTOCOL_WIDTH  Width,
+  IN UINTN                      Count,
+  IN UINT64                     *Offset
   );
 
 /**
diff --git a/MdeModulePkg/Bus/Pci/SataControllerDxe/ComponentName.c 
b/MdeModulePkg/Bus/Pci/SataControllerDxe/ComponentName.c
index 9cc416fc1f90..9e127fc65847 100644
--- a/MdeModulePkg/Bus/Pci/SataControllerDxe/ComponentName.c
+++ b/MdeModulePkg/Bus/Pci/SataControllerDxe/ComponentName.c
@@ -59,7 +59,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  
mSataControllerControlle
 
   @param This                   A pointer to the EFI_COMPONENT_NAME_PROTOCOL 
instance.
   @param Language               A pointer to a three character ISO 639-2 
language identifier.
-                                This is the language of the driver name that 
that the caller
+                                This is the language of the driver name that 
the caller
                                 is requesting, and it must match one of the 
languages specified
                                 in SupportedLanguages.  The number of 
languages supported by a
                                 driver is up to the driver writer.
@@ -108,7 +108,7 @@ SataControllerComponentNameGetDriverName (
                                 that wishes to retrieve the name of a child 
controller.
   @param Language               A pointer to a three character ISO 639-2 
language
                                 identifier.  This is the language of the 
controller name
-                                that that the caller is requesting, and it 
must match one
+                                that the caller is requesting, and it must 
match one
                                 of the languages specified in 
SupportedLanguages.  The
                                 number of languages supported by a driver is 
up to the
                                 driver writer.
diff --git a/MdeModulePkg/Bus/Pci/SataControllerDxe/SataController.h 
b/MdeModulePkg/Bus/Pci/SataControllerDxe/SataController.h
index 4d545fb1f958..466670599a7e 100644
--- a/MdeModulePkg/Bus/Pci/SataControllerDxe/SataController.h
+++ b/MdeModulePkg/Bus/Pci/SataControllerDxe/SataController.h
@@ -468,7 +468,7 @@ IdeInitSetTiming (
 
   @param This           A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
   @param Language       A pointer to a three character ISO 639-2 language 
identifier.
-                        This is the language of the driver name that that the 
caller
+                        This is the language of the driver name that the caller
                         is requesting, and it must match one of the languages 
specified
                         in SupportedLanguages.  The number of languages 
supported by a
                         driver is up to the driver writer.
@@ -508,7 +508,7 @@ SataControllerComponentNameGetDriverName (
                                 that wishes to retrieve the name of a child 
controller.
   @param Language               A pointer to a three character ISO 639-2 
language
                                 identifier.  This is the language of the 
controller name
-                                that that the caller is requesting, and it 
must match one
+                                that the caller is requesting, and it must 
match one
                                 of the languages specified in 
SupportedLanguages.  The
                                 number of languages supported by a driver is 
up to the
                                 driver writer.
diff --git a/MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.c 
b/MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.c
index 96abf3ab13bd..f325547f990d 100644
--- a/MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.c
+++ b/MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.c
@@ -468,7 +468,7 @@ UhcControlTransfer (
                                 from or receive into.
   @param  DataLength            The lenght of the data buffer.
   @param  DataToggle            On input, the initial data toggle for the 
transfer;
-                                On output, it is updated to to next data 
toggle to use of
+                                On output, it is updated to next data toggle 
to use of
                                 the subsequent bulk transfer.
   @param  TimeOut               Indicates the maximum time, in millisecond, 
which the
                                 transfer is allowed to complete.
diff --git a/MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.h 
b/MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.h
index 5b135f2558fd..29e5c8af7a1d 100644
--- a/MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.h
+++ b/MdeModulePkg/Bus/Pci/UhciPei/UhcPeim.h
@@ -243,7 +243,7 @@ UhcControlTransfer (
                                 from or receive into.
   @param  DataLength            The lenght of the data buffer.
   @param  DataToggle            On input, the initial data toggle for the 
transfer;
-                                On output, it is updated to to next data 
toggle to use of
+                                On output, it is updated to next data toggle 
to use of
                                 the subsequent bulk transfer.
   @param  TimeOut               Indicates the maximum time, in millisecond, 
which the
                                 transfer is allowed to complete.
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c 
b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
index c05431ff30ec..d110399ec1e7 100644
--- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
+++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c
@@ -965,7 +965,7 @@ XhcControlTransfer (
     //
     // The actual device address has been assigned by XHCI during initializing 
the device slot.
     // So we just need establish the mapping relationship between the device 
address requested from UsbBus
-    // and the actual device address assigned by XHCI. The the following 
invocations through EFI_USB2_HC_PROTOCOL interface
+    // and the actual device address assigned by XHCI. the following 
invocations through EFI_USB2_HC_PROTOCOL interface
     // can find out the actual device address by it.
     //
     Xhc->UsbDevContext[SlotId].BusDevAddr = (UINT8)Request->Value;
@@ -1206,7 +1206,7 @@ ON_EXIT:
                                 from or receive into.
   @param  DataLength            The lenght of the data buffer.
   @param  DataToggle            On input, the initial data toggle for the 
transfer;
-                                On output, it is updated to to next data 
toggle to
+                                On output, it is updated to next data toggle to
                                 use of the subsequent bulk transfer.
   @param  Timeout               Indicates the maximum time, in millisecond, 
which
                                 the transfer is allowed to complete.
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h 
b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
index ca223bd20cbd..c0c57d48811f 100644
--- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
+++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h
@@ -524,7 +524,7 @@ XhcControlTransfer (
                                 from or receive into.
   @param  DataLength            The lenght of the data buffer.
   @param  DataToggle            On input, the initial data toggle for the 
transfer;
-                                On output, it is updated to to next data 
toggle to
+                                On output, it is updated to next data toggle to
                                 use of the subsequent bulk transfer.
   @param  Timeout               Indicates the maximum time, in millisecond, 
which
                                 the transfer is allowed to complete.
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c 
b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
index c2906e06fd84..d42b7c8d09ec 100644
--- a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
+++ b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
@@ -2875,7 +2875,7 @@ XhcInitializeEndpointContext (
         }
 
         //
-        // Get the bInterval from descriptor and init the the interval field 
of endpoint context.
+        // Get the bInterval from descriptor and init the interval field of 
endpoint context.
         // Refer to XHCI 1.1 spec section 6.2.3.6.
         //
         if (DeviceSpeed == EFI_USB_SPEED_FULL) {
@@ -2906,7 +2906,7 @@ XhcInitializeEndpointContext (
         InputContext->EP[Dci-1].AverageTRBLength = 0x1000;
         InputContext->EP[Dci-1].MaxESITPayload   = EpDesc->MaxPacketSize;
         //
-        // Get the bInterval from descriptor and init the the interval field 
of endpoint context
+        // Get the bInterval from descriptor and init the interval field of 
endpoint context
         //
         if ((DeviceSpeed == EFI_USB_SPEED_FULL) || (DeviceSpeed == 
EFI_USB_SPEED_LOW)) {
           Interval = EpDesc->Interval;
@@ -3074,7 +3074,7 @@ XhcInitializeEndpointContext64 (
         }
 
         //
-        // Get the bInterval from descriptor and init the the interval field 
of endpoint context.
+        // Get the bInterval from descriptor and init the interval field of 
endpoint context.
         // Refer to XHCI 1.1 spec section 6.2.3.6.
         //
         if (DeviceSpeed == EFI_USB_SPEED_FULL) {
@@ -3105,7 +3105,7 @@ XhcInitializeEndpointContext64 (
         InputContext->EP[Dci-1].AverageTRBLength = 0x1000;
         InputContext->EP[Dci-1].MaxESITPayload   = EpDesc->MaxPacketSize;
         //
-        // Get the bInterval from descriptor and init the the interval field 
of endpoint context
+        // Get the bInterval from descriptor and init the interval field of 
endpoint context
         //
         if ((DeviceSpeed == EFI_USB_SPEED_FULL) || (DeviceSpeed == 
EFI_USB_SPEED_LOW)) {
           Interval = EpDesc->Interval;
diff --git a/MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c 
b/MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c
index 301f376b040d..292eb2b8f2a4 100644
--- a/MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c
+++ b/MdeModulePkg/Bus/Pci/XhciPei/XhcPeim.c
@@ -862,7 +862,7 @@ ON_EXIT:
                                 from or receive into.
   @param  DataLength            The lenght of the data buffer.
   @param  DataToggle            On input, the initial data toggle for the 
transfer;
-                                On output, it is updated to to next data 
toggle to use of
+                                On output, it is updated to next data toggle 
to use of
                                 the subsequent bulk transfer.
   @param  TimeOut               Indicates the maximum time, in millisecond, 
which the
                                 transfer is allowed to complete.
diff --git a/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c 
b/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c
index cc597a437174..835df8fa317d 100644
--- a/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c
+++ b/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c
@@ -1807,7 +1807,7 @@ XhcPeiSetConfigCmd (
           }
 
           //
-          // Get the bInterval from descriptor and init the the interval field 
of endpoint context.
+          // Get the bInterval from descriptor and init the interval field of 
endpoint context.
           // Refer to XHCI 1.1 spec section 6.2.3.6.
           //
           if (DeviceSpeed == EFI_USB_SPEED_FULL) {
@@ -2030,7 +2030,7 @@ XhcPeiSetConfigCmd64 (
           }
 
           //
-          // Get the bInterval from descriptor and init the the interval field 
of endpoint context.
+          // Get the bInterval from descriptor and init the interval field of 
endpoint context.
           // Refer to XHCI 1.1 spec section 6.2.3.6.
           //
           if (DeviceSpeed == EFI_USB_SPEED_FULL) {
@@ -2061,7 +2061,7 @@ XhcPeiSetConfigCmd64 (
           InputContext->EP[Dci-1].AverageTRBLength = 0x1000;
           InputContext->EP[Dci-1].MaxESITPayload   = EpDesc->MaxPacketSize;
           //
-          // Get the bInterval from descriptor and init the the interval field 
of endpoint context
+          // Get the bInterval from descriptor and init the interval field of 
endpoint context
           //
           if ((DeviceSpeed == EFI_USB_SPEED_FULL) || (DeviceSpeed == 
EFI_USB_SPEED_LOW)) {
             Interval = EpDesc->Interval;
diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg/Core/Dxe/DxeMain.h
index 815a6b4bd844..f4004e3ace24 100644
--- a/MdeModulePkg/Core/Dxe/DxeMain.h
+++ b/MdeModulePkg/Core/Dxe/DxeMain.h
@@ -2769,7 +2769,7 @@ MemoryProtectionExitBootServicesCallback (
   @param  Memory            The base address of the range
   @param  Length            The size of the range (in bytes)
 
-  @return EFI_SUCCESS       If the the CPU arch protocol is not installed yet
+  @return EFI_SUCCESS       If the CPU arch protocol is not installed yet
   @return EFI_SUCCESS       If no DXE memory protection policy has been 
configured
   @return EFI_SUCCESS       If OldType and NewType use the same permission 
attributes
   @return other             Return value of gCpu->SetMemoryAttributes()
diff --git a/MdeModulePkg/Core/Dxe/Mem/Page.c b/MdeModulePkg/Core/Dxe/Mem/Page.c
index cc0b90ac0df5..db4cbe054c5d 100644
--- a/MdeModulePkg/Core/Dxe/Mem/Page.c
+++ b/MdeModulePkg/Core/Dxe/Mem/Page.c
@@ -192,7 +192,7 @@ CoreAddRange (
   // UEFI 2.0 added an event group for notificaiton on memory map changes.
   // So we need to signal this Event Group every time the memory map changes.
   // If we are in EFI 1.10 compatability mode no event groups will be
-  // found and nothing will happen we we call this function. These events
+  // found and nothing will happen we call this function. These events
   // will get signaled but since a lock is held around the call to this
   // function the notificaiton events will only be called after this function
   // returns and the lock is released.
@@ -659,7 +659,7 @@ CoreAddMemoryDescriptor (
   }
 
   //
-  // There was enough system memory for all the the memory types were 
allocated.  So,
+  // There was enough system memory for all the memory types were allocated.  
So,
   // those memory areas can be freed for future allocations, and all future 
memory
   // allocations can occur within their respective bins
   //
diff --git a/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c 
b/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
index b89ab046fa73..c794e6e89a66 100644
--- a/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
+++ b/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
@@ -1231,7 +1231,7 @@ IsInSmm (
 
   @return EFI_SUCCESS       If we are executing in SMM mode. No permission 
attributes
                             are updated in this case
-  @return EFI_SUCCESS       If the the CPU arch protocol is not installed yet
+  @return EFI_SUCCESS       If the CPU arch protocol is not installed yet
   @return EFI_SUCCESS       If no DXE memory protection policy has been 
configured
   @return EFI_SUCCESS       If OldType and NewType use the same permission 
attributes
   @return other             Return value of gCpu->SetMemoryAttributes()
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c 
b/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
index fdeaaa39d88e..499535891c20 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
+++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
@@ -123,7 +123,7 @@ Create4GPageTablesIa32Pae (
   for (IndexOfPdpEntries = 0; IndexOfPdpEntries < NumberOfPdpEntriesNeeded; 
IndexOfPdpEntries++, PageDirectoryPointerEntry++) {
     //
     // Each Directory Pointer entries points to a page of Page Directory 
entires.
-    // So allocate space for them and fill them in in the 
IndexOfPageDirectoryEntries loop.
+    // So allocate space for them and fill them in the 
IndexOfPageDirectoryEntries loop.
     //
     PageDirectoryEntry = (VOID *)PageAddress;
     PageAddress       += SIZE_4KB;
diff --git a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c 
b/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c
index 18b121d7688c..892941c87d23 100644
--- a/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c
+++ b/MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c
@@ -833,7 +833,7 @@ CreateIdentityMappingPageTables (
   {
     //
     // Each PML5 entry points to a page of PML4 entires.
-    // So lets allocate space for them and fill them in in the 
IndexOfPml4Entries loop.
+    // So lets allocate space for them and fill them in the IndexOfPml4Entries 
loop.
     // When 5-Level Paging is disabled, below allocation happens only once.
     //
     PageMapLevel4Entry = (VOID *)BigPageAddress;
@@ -855,7 +855,7 @@ CreateIdentityMappingPageTables (
     {
       //
       // Each PML4 entry points to a page of Page Directory Pointer entires.
-      // So lets allocate space for them and fill them in in the 
IndexOfPdpEntries loop.
+      // So lets allocate space for them and fill them in the 
IndexOfPdpEntries loop.
       //
       PageDirectoryPointerEntry = (VOID *)BigPageAddress;
       BigPageAddress           += SIZE_4KB;
@@ -890,7 +890,7 @@ CreateIdentityMappingPageTables (
         {
           //
           // Each Directory Pointer entries points to a page of Page Directory 
entires.
-          // So allocate space for them and fill them in in the 
IndexOfPageDirectoryEntries loop.
+          // So allocate space for them and fill them in the 
IndexOfPageDirectoryEntries loop.
           //
           PageDirectoryEntry = (VOID *)BigPageAddress;
           BigPageAddress    += SIZE_4KB;
diff --git a/MdeModulePkg/Include/Guid/MdeModuleHii.h 
b/MdeModulePkg/Include/Guid/MdeModuleHii.h
index 798bcbaaae93..ff9dc1600cb2 100644
--- a/MdeModulePkg/Include/Guid/MdeModuleHii.h
+++ b/MdeModulePkg/Include/Guid/MdeModuleHii.h
@@ -200,7 +200,7 @@ typedef struct _EFI_IFR_GUID_VAREQNAME {
   /// For vareqval (0x100), NameId is 0x100.
   /// This value will convert to a Unicode String following this rule;
   ///            sprintf(StringBuffer, "%d", NameId) .
-  /// The the Unicode String will be used as a EFI Variable Name.
+  /// the Unicode String will be used as a EFI Variable Name.
   ///
   UINT16               NameId;
 } EFI_IFR_GUID_VAREQNAME;
diff --git a/MdeModulePkg/Include/Library/DisplayUpdateProgressLib.h 
b/MdeModulePkg/Include/Library/DisplayUpdateProgressLib.h
index bb262413806c..ab2c644c6af7 100644
--- a/MdeModulePkg/Include/Library/DisplayUpdateProgressLib.h
+++ b/MdeModulePkg/Include/Library/DisplayUpdateProgressLib.h
@@ -22,7 +22,7 @@
 
   @param[in] Completion  A value between 0 and 100 indicating the current
                          completion progress of a firmware update.  This
-                         value must the the same or higher than previous
+                         value must the same or higher than previous
                          calls to this service.  The first call of 0 or a
                          value of 0 after reaching a value of 100 resets
                          the progress indicator to 0.
diff --git a/MdeModulePkg/Include/Library/UefiBootManagerLib.h 
b/MdeModulePkg/Include/Library/UefiBootManagerLib.h
index 34e217707e71..b9f3ae4cf211 100644
--- a/MdeModulePkg/Include/Library/UefiBootManagerLib.h
+++ b/MdeModulePkg/Include/Library/UefiBootManagerLib.h
@@ -683,7 +683,7 @@ EfiBootManagerGetGopDevicePath (
   );
 
 /**
-  Connect the platform active active video controller.
+  Connect the platform active video controller.
 
   @param VideoController       PCI handle of video controller.
 
diff --git 
a/MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c
 
b/MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c
index 83053464e06e..b002bae0c3f6 100644
--- 
a/MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c
+++ 
b/MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c
@@ -21,7 +21,7 @@
 #include <Protocol/BootLogo2.h>
 
 //
-// Values in percent of of logo height.
+// Values in percent of logo height.
 //
 #define LOGO_BOTTOM_PADDING    20
 #define PROGRESS_BLOCK_HEIGHT  10
@@ -316,7 +316,7 @@ FindDim (
 
   @param[in] Completion  A value between 0 and 100 indicating the current
                          completion progress of a firmware update.  This
-                         value must the the same or higher than previous
+                         value must the same or higher than previous
                          calls to this service.  The first call of 0 or a
                          value of 0 after reaching a value of 100 resets
                          the progress indicator to 0.
diff --git 
a/MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.c
 
b/MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.c
index 4823a24d0da3..da1c5651d0d6 100644
--- 
a/MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.c
+++ 
b/MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.c
@@ -30,7 +30,7 @@ UINTN  mProgressBarForegroundColor;
 
   @param[in] Completion  A value between 0 and 100 indicating the current
                          completion progress of a firmware update.  This
-                         value must the the same or higher than previous
+                         value must the same or higher than previous
                          calls to this service.  The first call of 0 or a
                          value of 0 after reaching a value of 100 resets
                          the progress indicator to 0.
diff --git a/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c 
b/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
index f8d4983d81e6..69a50e32fbe1 100644
--- a/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
+++ b/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c
@@ -730,7 +730,7 @@ S3BootScriptGetBootTimeEntryAddAddress (
   }
 
   //
-  // calculate the the start address for the new entry.
+  // calculate the start address for the new entry.
   //
   NewEntryPtr = mS3BootScriptTablePtr->TableBase + TableLength;
 
@@ -2159,7 +2159,7 @@ S3BootScriptCalculateInsertAddress (
     //
     CopyMem (S3TableBase+PositionOffset+EntryLength, 
S3TableBase+PositionOffset, TableLength - PositionOffset);
     //
-    // calculate the the start address for the new entry.
+    // calculate the start address for the new entry.
     //
     *Script = S3TableBase + PositionOffset;
   } else {
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c 
b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
index 962892d38f14..d4e93b50ae1a 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
+++ b/MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c
@@ -1116,7 +1116,7 @@ BmExpandMediaDevicePath (
   }
 
   //
-  // Detect the the default boot file from removable Media
+  // Detect the default boot file from removable Media
   //
   NextFullPath = NULL;
   Size         = GetDevicePathSize (DevicePath) - END_DEVICE_PATH_LENGTH;
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c 
b/MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c
index 60e7b1099afe..dae91d8e35bc 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c
+++ b/MdeModulePkg/Library/UefiBootManagerLib/BmConsole.c
@@ -220,7 +220,7 @@ EfiBootManagerGetGopDevicePath (
 }
 
 /**
-  Connect the platform active active video controller.
+  Connect the platform active video controller.
 
   @param VideoController       PCI handle of video controller.
 
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c 
b/MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c
index a5e32ebdbab6..c6b9618d4d5c 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c
+++ b/MdeModulePkg/Library/UefiBootManagerLib/BmMisc.c
@@ -156,7 +156,7 @@ BmSetMemoryTypeInformationVariable (
   }
 
   //
-  // Only check the the Memory Type Information variable in the boot mode
+  // Only check the Memory Type Information variable in the boot mode
   // other than BOOT_WITH_DEFAULT_SETTINGS because the Memory Type
   // Information is not valid in this boot mode.
   //
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c 
b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
index 63a37ab59ae4..c5278fda79b3 100644
--- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
+++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c
@@ -635,7 +635,7 @@ InternalHiiBrowserCallback (
 
   if (SetResultsData != NULL) {
     //
-    // Request to to set data in the uncommitted browser state information
+    // Request to set data in the uncommitted browser state information
     //
     ResultsData = SetResultsData;
   } else {
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiString.c 
b/MdeModulePkg/Library/UefiHiiLib/HiiString.c
index 2c586ef64d5e..1e8a8c510776 100644
--- a/MdeModulePkg/Library/UefiHiiLib/HiiString.c
+++ b/MdeModulePkg/Library/UefiHiiLib/HiiString.c
@@ -36,7 +36,7 @@
                                   String is added or updated in the String 
Package
                                   associated with HiiHandle for all the 
languages
                                   that the String Package supports.  If this
-                                  parameter is not NULL, then then String is 
added
+                                  parameter is not NULL, then String is added
                                   or updated in the String Package associated 
with
                                   HiiHandle for the set oflanguages specified 
by
                                   SupportedLanguages.  The format of
diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c 
b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
index 766dde3aaeeb..8e4b24302922 100644
--- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
+++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
@@ -832,7 +832,7 @@ BdsEntry (
       for (Index = 0; Index < LoadOptionCount; Index++) {
         //
         // The PlatformRecovery#### options are sorted by OptionNumber.
-        // Find the the smallest unused number as the new OptionNumber.
+        // Find the smallest unused number as the new OptionNumber.
         //
         if (LoadOptions[Index].OptionNumber != Index) {
           break;
diff --git a/MdeModulePkg/Universal/BdsDxe/Language.c 
b/MdeModulePkg/Universal/BdsDxe/Language.c
index 8724b13f4ca1..6b95b1622b46 100644
--- a/MdeModulePkg/Universal/BdsDxe/Language.c
+++ b/MdeModulePkg/Universal/BdsDxe/Language.c
@@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 /**
   Check if lang is in supported language codes according to language string.
 
-  This code is used to check if lang is in in supported language codes. It can 
handle
+  This code is used to check if lang is in supported language codes. It can 
handle
   RFC4646 and ISO639 language tags.
   In ISO639 language tags, take 3-characters as a delimitation to find matched 
string.
   In RFC4646 language tags, take semicolon as a delimitation to find matched 
string.
diff --git a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c 
b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c
index ef60d4e1b7b7..f2b306b8129e 100644
--- a/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c
+++ b/MdeModulePkg/Universal/CapsulePei/UefiCapsule.c
@@ -200,7 +200,7 @@ Create4GPageTables (
   for (IndexOfPml4Entries = 0; IndexOfPml4Entries < NumberOfPml4EntriesNeeded; 
IndexOfPml4Entries++, PageMapLevel4Entry++) {
     //
     // Each PML4 entry points to a page of Page Directory Pointer entires.
-    // So lets allocate space for them and fill them in in the 
IndexOfPdpEntries loop.
+    // So lets allocate space for them and fill them in the IndexOfPdpEntries 
loop.
     //
     PageDirectoryPointerEntry = (VOID *)BigPageAddress;
     BigPageAddress           += SIZE_4KB;
@@ -228,7 +228,7 @@ Create4GPageTables (
       for (IndexOfPdpEntries = 0; IndexOfPdpEntries < 
NumberOfPdpEntriesNeeded; IndexOfPdpEntries++, PageDirectoryPointerEntry++) {
         //
         // Each Directory Pointer entries points to a page of Page Directory 
entires.
-        // So allocate space for them and fill them in in the 
IndexOfPageDirectoryEntries loop.
+        // So allocate space for them and fill them in the 
IndexOfPageDirectoryEntries loop.
         //
         PageDirectoryEntry = (VOID *)BigPageAddress;
         BigPageAddress    += SIZE_4KB;
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c 
b/MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
index fd9c00c0e12d..ef8a45e944fd 100644
--- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
+++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
@@ -507,7 +507,7 @@ ConSplitterSimplePointerComponentNameGetControllerName (
                                  not be NULL for a bus driver that wishes to
                                  retrieve the name of a child controller.
   @param  Language               A pointer to RFC4646 language identifier. 
This is
-                                 the language of the controller name that that 
the
+                                 the language of the controller name that the
                                  caller is requesting, and it must match one 
of the
                                  languages specified in SupportedLanguages.  
The
                                  number of languages supported by a driver is 
up to
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h 
b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
index a1fe74726058..9e32772ae528 100644
--- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
+++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h
@@ -928,7 +928,7 @@ ConSplitterSimplePointerComponentNameGetControllerName (
                                  not be NULL for a bus driver that wishes to
                                  retrieve the name of a child controller.
   @param  Language               A pointer to RFC4646 language identifier. 
This is
-                                 the language of the controller name that that 
the
+                                 the language of the controller name that the
                                  caller is requesting, and it must match one 
of the
                                  languages specified in SupportedLanguages.  
The
                                  number of languages supported by a driver is 
up to
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.nasm 
b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.nasm
index 07fc912fe82d..5efa03db1e47 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.nasm
+++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.nasm
@@ -78,7 +78,7 @@ align           16
 DebugStackEnd: db "DbgStkEnd >>>>>>"    ;; 16 byte long string - must be 16 
bytes to preserve alignment
                 times 0x1ffc dd    0x0  ;; 32K should be enough stack
                                         ;;   This allocation is coocked to 
insure
-                                        ;;   that the the buffer for the 
FXSTORE instruction
+                                        ;;   that the buffer for the FXSTORE 
instruction
                                         ;;   will be 16 byte aligned also.
                                         ;;
 ExceptionNumber: dd 0                   ;; first entry will be the vector 
number pushed by the stub
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.nasm 
b/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.nasm
index c6c5e4918931..7af0e8dfd9ef 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.nasm
+++ b/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.nasm
@@ -79,7 +79,7 @@ align           16
 DebugStackEnd: db "DbgStkEnd >>>>>>"    ;; 16 byte long string - must be 16 
bytes to preserve alignment
                 times 0x1ffc dd    0x0  ;; 32K should be enough stack
                                         ;;   This allocation is coocked to 
insure
-                                        ;;   that the the buffer for the 
FXSTORE instruction
+                                        ;;   that the buffer for the FXSTORE 
instruction
                                         ;;   will be 16 byte aligned also.
                                         ;;
 ExceptionNumber: dq 0                   ;; first entry will be the vector 
number pushed by the stub
diff --git a/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c 
b/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
index 38af39f41ec2..c999fb5e7af7 100644
--- a/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
+++ b/MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIo.c
@@ -1002,7 +1002,7 @@ DiskIo2ReadWriteDisk (
     if (!EFI_ERROR (Status) && (Task->Token != NULL)) {
       //
       // Task->Token should be set to NULL by the DiskIo2OnReadWriteComplete
-      // It it's not, that means the non-blocking request was downgraded to 
blocking request.
+      // If it's not, that means the non-blocking request was downgraded to 
blocking request.
       //
       DEBUG ((DEBUG_VERBOSE, "DiskIo: Non-blocking request was downgraded to 
blocking request, signal event directly.\n"));
       Task->Token->TransactionStatus = Status;
diff --git a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c 
b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
index a7b7dc743aae..8c6ed5d713af 100644
--- a/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
+++ b/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
@@ -1793,7 +1793,7 @@ GetDistanceBetweenMenus (
 
   @param  HighLightMenu      The link_entry pointer to highlight menu.
 
-  @retval  Return the the link_entry pointer top of screen menu.
+  @retval  Return the link_entry pointer top of screen menu.
 
 **/
 LIST_ENTRY *
diff --git a/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c 
b/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c
index 4f47c55cce99..4a96801a3007 100644
--- a/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c
+++ b/MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c
@@ -127,7 +127,7 @@ IsSystemFmp (
                            in Table.
   @retval  EFI_SUCCESS     The ImageTypeId GUID in FmpImageInfoBuf matches an
                            existing ESRT entry in Table, and the information
-                           from FmpImageInfoBuf was merged into the the 
existing
+                           from FmpImageInfoBuf was merged into the existing
                            ESRT entry.
   @retval  EFI_UNSPOORTED  The GUID/HardareInstance in FmpImageInfoBuf has is a
                            duplicate.
diff --git a/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c 
b/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c
index 0252db19ade9..ac43825386d9 100644
--- a/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c
+++ b/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystem.c
@@ -1,6 +1,6 @@
 /** @file
   This driver uses the EFI_FIRMWARE_VOLUME2_PROTOCOL to expose files in 
firmware
-  volumes via the the EFI_SIMPLE_FILESYSTEM_PROTOCOL and EFI_FILE_PROTOCOL.
+  volumes via the EFI_SIMPLE_FILESYSTEM_PROTOCOL and EFI_FILE_PROTOCOL.
 
   It will expose a single directory, containing one file for each file in the 
firmware
   volume. If a file has a UI section, its contents will be used as a filename.
diff --git 
a/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf 
b/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf
index 03797847d936..dbca5c5dc4d0 100644
--- a/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf
+++ b/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf
@@ -2,7 +2,7 @@
 #  Support for Simple File System over Firmware Volume.
 #
 #  This driver uses the EFI_FIRMWARE_VOLUME2_PROTOCOL to expose files in 
firmware
-#  volumes via the the EFI_SIMPLE_FILESYSTEM_PROTOCOL and EFI_FILE_PROTOCOL.
+#  volumes via the EFI_SIMPLE_FILESYSTEM_PROTOCOL and EFI_FILE_PROTOCOL.
 #
 #  It will expose a single directory, containing one file for each file in the 
firmware
 #  volume. If a file has a UI section, its contents will be used as a filename.
diff --git 
a/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemEntryPoint.c 
b/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemEntryPoint.c
index 3f96407dc755..4f4446a9df51 100644
--- 
a/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemEntryPoint.c
+++ 
b/MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemEntryPoint.c
@@ -1,6 +1,6 @@
 /** @file
   This driver uses the EFI_FIRMWARE_VOLUME2_PROTOCOL to expose files in 
firmware
-  volumes via the the EFI_SIMPLE_FILESYSTEM_PROTOCOL and EFI_FILE_PROTOCOL.
+  volumes via the EFI_SIMPLE_FILESYSTEM_PROTOCOL and EFI_FILE_PROTOCOL.
 
   It will expose a single directory, containing one file for each file in the 
firmware
   volume. If a file has a UI section, its contents will be used as a filename.
@@ -292,7 +292,7 @@ InitializeUnicodeCollationSupportWorker (
     }
 
     //
-    // Find the best matching matching language from the supported languages
+    // Find the best matching language from the supported languages
     // of Unicode Collation (2) protocol.
     //
     BestLanguage = GetBestLanguage (
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c 
b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c
index 5ae6189a2843..442530b19561 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c
@@ -2027,7 +2027,7 @@ Done:
   @param  IfrOpHdr               Ifr opcode header for this opcode.
   @param  VarWidth               The buffer width for this opcode.
   @param  ReturnData             The data block added for this opcode.
-  @param  IsBitVar               Whether the the opcode refers to bit storage.
+  @param  IsBitVar               Whether the opcode refers to bit storage.
 
   @retval  EFI_SUCCESS           This opcode is required.
   @retval  EFI_NOT_FOUND         This opcode is not required.
diff --git a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c 
b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
index 9a6050d32298..8883d321eff9 100644
--- a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
+++ b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c
@@ -983,7 +983,7 @@ SaveOverridesMapping (
   }
 
   //
-  // Get the the maximum size of an individual EFI variable in current system
+  // Get the maximum size of an individual EFI variable in current system
   //
   gRT->QueryVariableInfo (
          EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE,
diff --git a/MdeModulePkg/Universal/SerialDxe/SerialIo.c 
b/MdeModulePkg/Universal/SerialDxe/SerialIo.c
index 25be8634abcd..b9309f1c98c7 100644
--- a/MdeModulePkg/Universal/SerialDxe/SerialIo.c
+++ b/MdeModulePkg/Universal/SerialDxe/SerialIo.c
@@ -44,7 +44,7 @@ SerialReset (
   data bits, 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
@@ -255,7 +255,7 @@ SerialReset (
   data bits, 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/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c 
b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
index babef214974e..f88de881e38f 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
@@ -918,7 +918,7 @@ UpdateStatementStatusForForm (
     Link     = GetNextNode (&Form->StatementListHead, Link);
 
     //
-    // For password opcode, not set the the value changed flag.
+    // For password opcode, not set the value changed flag.
     //
     if (Question->Operand == EFI_IFR_PASSWORD_OP) {
       continue;
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92694): https://edk2.groups.io/g/devel/message/92694
Mute This Topic: https://groups.io/mt/93207397/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to