From: Adam Borowski Date: Thu, 15 Sep 2016 14:47:11 +0000 (+0200) Subject: vt: Drop a no longer true comment. X-Git-Tag: v4.14-rc1~2394^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e7ec4a0e635d7b95c5ec30df3ed79164bbf3acb;p=platform%2Fkernel%2Flinux-rpi.git vt: Drop a no longer true comment. Some guy went on a patching spree, adding 24-bit colour support all around: https://gist.github.com/XVilka/8346728 Signed-off-by: Adam Borowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index 52442cc..20d89c2a 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -1313,11 +1313,11 @@ static int vc_t416_color(struct vc_data *vc, int i, return i; if (vc->vc_par[i] == 5 && i + 1 <= vc->vc_npar) { - /* 256 colours -- ubiquitous */ + /* 256 colours */ i++; rgb_from_256(vc->vc_par[i], &c); } else if (vc->vc_par[i] == 2 && i + 3 <= vc->vc_npar) { - /* 24 bit -- extremely rare */ + /* 24 bit */ c.r = vc->vc_par[i + 1]; c.g = vc->vc_par[i + 2]; c.b = vc->vc_par[i + 3];