Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Scot Doyle and committed by
Tomi Valkeinen
5b28f0fa ba59bab7

-4
-4
drivers/video/console/fbcon.c
··· 146 146 147 147 static int fbcon_set_origin(struct vc_data *); 148 148 149 - #define CURSOR_DRAW_DELAY (1) 150 - 151 - static int vbl_cursor_cnt; 152 149 static int fbcon_cursor_noblink; 153 150 154 151 #define divides(a, b) ((!(a) || (b)%(a)) ? 0 : 1) ··· 1326 1329 1327 1330 ops->cursor(vc, info, mode, y, get_color(vc, info, c, 1), 1328 1331 get_color(vc, info, c, 0)); 1329 - vbl_cursor_cnt = CURSOR_DRAW_DELAY; 1330 1332 } 1331 1333 1332 1334 static int scrollback_phys_max = 0;