[PATCH] serial/jsm: fix repeated words in comments

Jilin Yuan posted 1 patch 3 years, 7 months ago
drivers/tty/serial/jsm/jsm_cls.c | 2 +-
drivers/tty/serial/jsm/jsm_neo.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] serial/jsm: fix repeated words in comments
Posted by Jilin Yuan 3 years, 7 months ago
 Delete the redundant word 'way'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/tty/serial/jsm/jsm_cls.c | 2 +-
 drivers/tty/serial/jsm/jsm_neo.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/jsm/jsm_cls.c b/drivers/tty/serial/jsm/jsm_cls.c
index 3fd57ac3ad81..8c2f0038db53 100644
--- a/drivers/tty/serial/jsm/jsm_cls.c
+++ b/drivers/tty/serial/jsm/jsm_cls.c
@@ -403,7 +403,7 @@ static void cls_copy_data_from_uart_to_queue(struct jsm_channel *ch)
 		/*
 		 * If our queue is full, we have no choice but to drop some
 		 * data. The assumption is that HWFLOW or SWFLOW should have
-		 * stopped things way way before we got to this point.
+		 * stopped things way before we got to this point.
 		 *
 		 * I decided that I wanted to ditch the oldest data first,
 		 * I hope thats okay with everyone? Yes? Good.
diff --git a/drivers/tty/serial/jsm/jsm_neo.c b/drivers/tty/serial/jsm/jsm_neo.c
index 0c78f66276cd..e12dcb5f03ec 100644
--- a/drivers/tty/serial/jsm/jsm_neo.c
+++ b/drivers/tty/serial/jsm/jsm_neo.c
@@ -433,7 +433,7 @@ static void neo_copy_data_from_uart_to_queue(struct jsm_channel *ch)
 		/*
 		 * If our queue is full, we have no choice but to drop some data.
 		 * The assumption is that HWFLOW or SWFLOW should have stopped
-		 * things way way before we got to this point.
+		 * things way before we got to this point.
 		 *
 		 * I decided that I wanted to ditch the oldest data first,
 		 * I hope thats okay with everyone? Yes? Good.
-- 
2.36.1
Re: [PATCH] serial/jsm: fix repeated words in comments
Posted by Greg KH 3 years, 7 months ago
On Mon, Aug 22, 2022 at 08:14:57PM +0800, Jilin Yuan wrote:
>  Delete the redundant word 'way'.

Again, not redundant.
Re: [PATCH] serial/jsm: fix repeated words in comments
Posted by Bagas Sanjaya 3 years, 7 months ago
On Mon, Aug 22, 2022 at 02:22:14PM +0200, Greg KH wrote:
> On Mon, Aug 22, 2022 at 08:14:57PM +0800, Jilin Yuan wrote:
> >  Delete the redundant word 'way'.
> 
> Again, not redundant.

Hi Greg,

The original comment means "The assumption is that the flow control
should have stopped the way things are flowed, before the flow got into
the state that some data have to be dropped.".

Thanks.

-- 
An old man doll... just what I always wanted! - Clara