2021-12-08 14:21:18

by Xiang wangx

[permalink] [raw]
Subject: [PATCH v2] tty/ldsem: Fix syntax errors in comments

Delete the redundant word 'are'.

Signed-off-by: Xiang wangx <[email protected]>
---

Changes since v1
* Change commit log

drivers/tty/tty_ldsem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/tty_ldsem.c b/drivers/tty/tty_ldsem.c
index ce8291053af3..3be428c16260 100644
--- a/drivers/tty/tty_ldsem.c
+++ b/drivers/tty/tty_ldsem.c
@@ -163,7 +163,7 @@ down_read_failed(struct ld_semaphore *sem, long count, long timeout)

/*
* Try to reverse the lock attempt but if the count has changed
- * so that reversing fails, check if there are are no waiters,
+ * so that reversing fails, check if there are no waiters,
* and early-out if not
*/
do {
--
2.20.1