aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorScot Doyle <lkml14@scotdoyle.com>2015-01-23 17:55:29 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-01-26 07:10:37 -0500
commit5b28f0fabbd745b2cc42a89f5b1d87757a68eed7 (patch)
tree9b251546766e42358b5a6988bfa89ed0dcc14f70 /drivers/video
parentba59bab7530cf98b40b7c4e1c8f86dc3d7f2b47f (diff)
fbcon: Remove unused vblank cursor code
commit 1fa0b29f3a43 ("fbdev: Kill Atari vblank cursor blinking") rendered vbl_cursor_cnt and therefore CURSOR_DRAW_DELAY unused in fbcon.c, so remove them. Signed-off-by: Scot Doyle <lkml14@scotdoyle.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/console/fbcon.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index ea437245562e..b97210671a81 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -146,9 +146,6 @@ static const struct consw fb_con;
146 146
147static int fbcon_set_origin(struct vc_data *); 147static int fbcon_set_origin(struct vc_data *);
148 148
149#define CURSOR_DRAW_DELAY (1)
150
151static int vbl_cursor_cnt;
152static int fbcon_cursor_noblink; 149static int fbcon_cursor_noblink;
153 150
154#define divides(a, b) ((!(a) || (b)%(a)) ? 0 : 1) 151#define divides(a, b) ((!(a) || (b)%(a)) ? 0 : 1)
@@ -1329,7 +1326,6 @@ static void fbcon_cursor(struct vc_data *vc, int mode)
1329 1326
1330 ops->cursor(vc, info, mode, y, get_color(vc, info, c, 1), 1327 ops->cursor(vc, info, mode, y, get_color(vc, info, c, 1),
1331 get_color(vc, info, c, 0)); 1328 get_color(vc, info, c, 0));
1332 vbl_cursor_cnt = CURSOR_DRAW_DELAY;
1333} 1329}
1334 1330
1335static int scrollback_phys_max = 0; 1331static int scrollback_phys_max = 0;