summaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt/vt_ioctl.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-06-15 09:49:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-24 17:08:33 +0200
commitc5c717e7a593558160b939dba4091e1ebbaf3778 (patch)
treef837102bbbb1b7710eb45faa4f8ea346277a064a /drivers/tty/vt/vt_ioctl.c
parentfaace51b63ea258e95c2a168f65af193d41279d0 (diff)
downloadlinux-c5c717e7a593558160b939dba4091e1ebbaf3778.tar.bz2
vt: simplify noncolor attributes in build_attr
All the attributes are bools, so do a simple shift instead of tests and constants as bool is either 0 or 1. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20200615074910.19267-28-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt/vt_ioctl.c')
0 files changed, 0 insertions, 0 deletions