diff options
author | Jiri Slaby <jslaby@suse.cz> | 2016-10-03 11:18:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-27 16:37:44 +0200 |
commit | 96fd95542391d2ceb15515f41566dbb6776d9858 (patch) | |
tree | aaa64a7c67aba047f34b7706d5b50f0938f53935 /samples/uhid | |
parent | 7c918cdceb32c50b3f4a31eec177076c9a151b35 (diff) | |
download | linux-stable-96fd95542391d2ceb15515f41566dbb6776d9858.tar.gz linux-stable-96fd95542391d2ceb15515f41566dbb6776d9858.tar.bz2 linux-stable-96fd95542391d2ceb15515f41566dbb6776d9858.zip |
vgacon: switch boolean variables to bool
These variables:
* vga_can_do_color
* vgacon_text_mode_force
* vga_font_is_default
* vga_hardscroll_enabled
* vga_hardscroll_user_enable
* vga_init_done
* vga_is_gfx
* vga_palette_blanked
* vga_512_chars
are used exclusively as a boolean value, so make them really a bool.
Remove also useless "? true : false".
__read_mostly annotations removed too as they obfuscate the code and I
doubt they improve anything measurable given the variables are used
from .con_scroll, .con_startup and such.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: <linux-fbdev@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/uhid')
0 files changed, 0 insertions, 0 deletions