n_tty: pass ldata to canon_skip_eof() directly
authorJiri Slaby <jirislaby@kernel.org>
Wed, 12 Jul 2023 06:42:15 +0000 (08:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jul 2023 17:19:39 +0000 (19:19 +0200)
commit32042446c030b677f3bf10081876d9bd078740a2
treeeddd5dc5d20faaa258e31ab433928eb1c2e001ab
parentf6f847ff8d6662977fd7f7199152b87ef029e704
n_tty: pass ldata to canon_skip_eof() directly

'tty' is not needed in canon_skip_eof(), so we can pass 'ldata' directly
instead.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230712064216.12150-4-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c