vt_ioctl: move vt_io_fontreset out of vt_io_ioctl
authorJiri Slaby <jslaby@suse.cz>
Mon, 15 Jun 2020 07:49:08 +0000 (09:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:08:34 +0000 (17:08 +0200)
commit7a0ac4b17f15fcd687498380da0ba28945cc6ece
treea0ac5ce5027fb004df09a9451808467483d0e318
parent5422337d569eade4e79a98d22bbc757285d8872d
vt_ioctl: move vt_io_fontreset out of vt_io_ioctl

This also eliminates the ifdeffery by using if and __is_defined.

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