tty: tty_io: Remove the repeated word 'can'
authorXiaofei Tan <tanxiaofei@huawei.com>
Wed, 12 May 2021 09:26:19 +0000 (17:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 16:29:13 +0000 (18:29 +0200)
Remove the repeated word 'can' following advice of checkpatch.pl

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Link: https://lore.kernel.org/r/1620811585-18582-12-git-send-email-tanxiaofei@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c

index 6da0b07..7a1bd4e 100644 (file)
@@ -1155,7 +1155,7 @@ ssize_t redirected_tty_write(struct kiocb *iocb, struct iov_iter *iter)
        spin_unlock(&redirect_lock);
 
        /*
-        * We know the redirected tty is just another tty, we can can
+        * We know the redirected tty is just another tty, we can
         * call file_tty_write() directly with that file pointer.
         */
        if (p) {