[PATCH] tty/seria: fix repeated words in comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Delete the redundant word 'as'.
 Delete the redundant word 'the'.

Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>
---
 drivers/tty/serial/fsl_lpuart.c | 2 +-
 drivers/tty/serial/kgdboc.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 0d6e62f6bb07..fff4fa8d73ca 100644
--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -2787,7 +2787,7 @@ static int __maybe_unused lpuart_suspend(struct device *dev)
 		 * EDMA driver during suspend will forcefully release any
 		 * non-idle DMA channels. If port wakeup is enabled or if port
 		 * is console port or 'no_console_suspend' is set the Rx DMA
-		 * cannot resume as as expected, hence gracefully release the
+		 * cannot resume as expected, hence gracefully release the
 		 * Rx DMA path before suspend and start Rx DMA path on resume.
 		 */
 		if (irq_wake) {
diff --git a/drivers/tty/serial/kgdboc.c b/drivers/tty/serial/kgdboc.c
index 79b7db8580e0..a471fc132acb 100644
--- a/drivers/tty/serial/kgdboc.c
+++ b/drivers/tty/serial/kgdboc.c
@@ -343,7 +343,7 @@ static int param_set_kgdboc_var(const char *kmessage,
 	 * Configure with the new params as long as init already ran.
 	 * Note that we can get called before init if someone loads us
 	 * with "modprobe kgdboc kgdboc=..." or if they happen to use the
-	 * the odd syntax of "kgdboc.kgdboc=..." on the kernel command.
+	 * odd syntax of "kgdboc.kgdboc=..." on the kernel command.
 	 */
 	if (configured >= 0)
 		ret = configure_kgdboc();
-- 
2.36.1




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux