n_tty: Rename tail to old_tail in n_tty_read()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 11 Nov 2022 14:25:02 +0000 (16:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Nov 2022 16:51:34 +0000 (17:51 +0100)
commit947d66b68f3c4e7cf8f3f3500807b9d2a0de28ce
treefb5002a963428d28226ccec352060574cb59ad8d
parent42a62da0ae660e71c280bd8b287b994c1af1352c
n_tty: Rename tail to old_tail in n_tty_read()

The local tail variable in n_tty_read() is used for one purpose, it
keeps the old tail. Thus, rename it appropriately to improve code
readability.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/22b37499-ff9a-7fc1-f6e0-58411328d122@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c