summaryrefslogtreecommitdiff
path: root/drivers/tty/rocket.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-04-15 11:36:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-16 16:14:15 +0200
commit8fd31e69f890f691b7c548de20a7ee74955df593 (patch)
tree9a87b9a520cabfa01112f838f46a368c8e20f510 /drivers/tty/rocket.c
parent9ba4ddbc04feac9513d573e02a4360db6f598455 (diff)
vt: extract selection chars storing from vc_do_selection
Let's put it to a separate function, named vc_selection_store_chars. Again, this makes vc_do_selection a bit shorter and more readable. Having 4 local variables instead of 12 (5.6-rc1) looks much better now. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20200415093608.10348-2-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/rocket.c')
0 files changed, 0 insertions, 0 deletions