tty/vt: consolemap: remove glyph < 0 check from set_inverse_trans_unicode()
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Jun 2022 10:49:28 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 11:37:02 +0000 (13:37 +0200)
commitf052f62c23b330717773b61bea19003e2e6a9ba2
tree60fb51cc60896f943565b276773492b4ecad1044
parent5a904a936b407624cd1ff5ee3f1675ca3d2366a5
tty/vt: consolemap: remove glyph < 0 check from set_inverse_trans_unicode()

glyph is now an int casted from u16. It can never be negative. So remove
the check and type glyph as u16 properly in set_inverse_trans_unicode().

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