vt: selection, use rounddown() for start/endline computation
authorJiri Slaby <jslaby@suse.cz>
Mon, 16 Mar 2020 06:59:10 +0000 (07:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2020 07:41:17 +0000 (08:41 +0100)
commitf0e8e3da22abd0015348760b2ea26bf45fdf3030
tree64494087da8d3c8c13ed9d8dff01194f5aea3b46
parent85af37056a72c5e2e5758a44c94c78cbdf3658e3
vt: selection, use rounddown() for start/endline computation

We have a helper called rounddown for these modulo computations. So use
it.

No functional change intended and "objdump -d" proves that.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200316065911.11024-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/selection.c