vt: simplify vc_attr handling in vc_con_write_normal
authorJiri Slaby <jslaby@suse.cz>
Mon, 15 Jun 2020 07:48:53 +0000 (09:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:08:33 +0000 (17:08 +0200)
commitf3205b29be7a18a198491004d058f3fc9d6eaf79
tree04099bf65e307bd7bcb73272621044a23684a721
parent6923e2d793213283d808e60c390fe0b5e9090c7e
vt: simplify vc_attr handling in vc_con_write_normal

Invert the attribute on the only place, without the need of checking
'inverse'.

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