summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2021-04-07 09:06:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-10 10:33:00 +0200
commitb89585461834e317f447dcdb14bdb8d27af40ce4 (patch)
tree453faa5dad92e24aec0c9da87c7f4fa4a039c563 /drivers/tty
parenttty: tty_ldisc: Do not use assignment in if condition (diff)
downloadlinux-b89585461834e317f447dcdb14bdb8d27af40ce4.tar.xz
linux-b89585461834e317f447dcdb14bdb8d27af40ce4.zip
tty: tty_ldisc: Remove the repeated word 'the'
Remove the repeated word 'the' following advice of checkpatch.pl Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Link: https://lore.kernel.org/r/1617779210-51576-11-git-send-email-tanxiaofei@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/tty_ldisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c
index 56e67f770b6d..fdc4fa31ca72 100644
--- a/drivers/tty/tty_ldisc.c
+++ b/drivers/tty/tty_ldisc.c
@@ -147,7 +147,7 @@ static int tty_ldisc_autoload = IS_BUILTIN(CONFIG_LDISC_AUTOLOAD);
* Returns: -EINVAL if the discipline index is not [N_TTY..NR_LDISCS] or
* if the discipline is not registered
* -EAGAIN if request_module() failed to load or register the
- * the discipline
+ * discipline
* -ENOMEM if allocation failure
*
* Otherwise, returns a pointer to the discipline and bumps the