diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-01-12 11:01:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-19 17:06:42 +0300 |
commit | bf8baa00668dbc4fcfca5ac49ae8a3059c795e4e (patch) | |
tree | 5ee3dd968d223c90d6cdfa9ccc0a52c223e21609 /include/linux | |
parent | 424c82af26b1b8ca6c0be06987a4e6d18c9a92dd (diff) | |
download | linux-bf8baa00668dbc4fcfca5ac49ae8a3059c795e4e.tar.xz |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions