]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
tty: update obsolete termios comment
authorJohan Hovold <johan@kernel.org>
Thu, 18 Apr 2019 16:05:54 +0000 (18:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 09:58:56 +0000 (11:58 +0200)
Update an obsolete comment referring to the termios_locked structure
which was removed over a decade ago by commit fe6e29fdb1a7 ("tty:
simplify ktermios allocation").

While at it, fix the "Thus" typo.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_io.c

index 5fa250157025686e92c2399f3a46631421e79068..033ac7e6a70dbfe1fc28e71ab03cf17d43b45b88 100644 (file)
@@ -1173,7 +1173,7 @@ static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver,
  *     tty_init_termios        -  helper for termios setup
  *     @tty: the tty to set up
  *
- *     Initialise the termios structures for this tty. Thus runs under
+ *     Initialise the termios structure for this tty. This runs under
  *     the tty_mutex currently so we can be relaxed about ordering.
  */