summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_ldsem.c
diff options
context:
space:
mode:
authorXiang wangx <wangxiang@cdjrlc.com>2021-12-08 22:20:36 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-21 09:15:49 +0100
commite822b4973f49015e1c6f63b91c8641ed9bfaf229 (patch)
tree533cf0f703a4b1a6fdd61157e4a0c562dad9397d /drivers/tty/tty_ldsem.c
parent712fe4c849829352dd45dc14e027d61500931f85 (diff)
tty/ldsem: Fix syntax errors in comments
Delete the redundant word 'are'. Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com> Link: https://lore.kernel.org/r/20211208142036.7956-1-wangxiang@cdjrlc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_ldsem.c')
-rw-r--r--drivers/tty/tty_ldsem.c2
1 files changed, 1 insertions, 1 deletions
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 {