summaryrefslogtreecommitdiff
path: root/fs/ramfs
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2023-01-12 11:01:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 17:06:42 +0300
commitbf8baa00668dbc4fcfca5ac49ae8a3059c795e4e (patch)
tree5ee3dd968d223c90d6cdfa9ccc0a52c223e21609 /fs/ramfs
parent424c82af26b1b8ca6c0be06987a4e6d18c9a92dd (diff)
downloadlinux-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 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions