vc: move translation out of do_con_write
authorJiri Slaby <jslaby@suse.cz>
Mon, 15 Jun 2020 07:48:48 +0000 (09:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:08:32 +0000 (17:08 +0200)
commita4236348f4ada19e7f88b631149561bbec275d75
treef114520641a277b773a5efb5bb7f4f19944827c8
parent0d1ffef5782628aede95d5390c658c2027c53c55
vc: move translation out of do_con_write

Now that we reordered the code and the label, we can eliminate the
translation into a separate function. We call it vc_translate here.

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