diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-01-12 09:01:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-19 15:06:42 +0100 |
commit | bf8baa00668dbc4fcfca5ac49ae8a3059c795e4e (patch) | |
tree | 5ee3dd968d223c90d6cdfa9ccc0a52c223e21609 /drivers/tty/serial | |
parent | 424c82af26b1b8ca6c0be06987a4e6d18c9a92dd (diff) |
tty: vt: cache row count in con_scroll()
It's used on few places, so make the code easier to follow by caching
the subtraction result.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230112080136.4929-11-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
0 files changed, 0 insertions, 0 deletions