aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/console
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2011-03-24 16:50:52 -0400
committerPaul Mundt <lethal@linux-sh.org>2011-03-31 00:48:54 -0400
commit62e0ff1ef2d8ea0814487f73a7de431396a1e914 (patch)
tree64ac2f95e71eae0a1e9e657df46c6dfcd93fa868 /drivers/video/console
parent1fcf0069f4715f6f811466db68a547a348b4d5a9 (diff)
fbcon: Remove unused 'display *p' variable from fb_flashcursor()
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/console')
-rw-r--r--drivers/video/console/fbcon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index c58393402da2..8745637e4b7e 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -370,7 +370,6 @@ static void fb_flashcursor(struct work_struct *work)
370{ 370{
371 struct fb_info *info = container_of(work, struct fb_info, queue); 371 struct fb_info *info = container_of(work, struct fb_info, queue);
372 struct fbcon_ops *ops = info->fbcon_par; 372 struct fbcon_ops *ops = info->fbcon_par;
373 struct display *p;
374 struct vc_data *vc = NULL; 373 struct vc_data *vc = NULL;
375 int c; 374 int c;
376 int mode; 375 int mode;
@@ -386,7 +385,6 @@ static void fb_flashcursor(struct work_struct *work)
386 return; 385 return;
387 } 386 }
388 387
389 p = &fb_display[vc->vc_num];
390 c = scr_readw((u16 *) vc->vc_pos); 388 c = scr_readw((u16 *) vc->vc_pos);
391 mode = (!ops->cursor_flash || ops->cursor_state.enable) ? 389 mode = (!ops->cursor_flash || ops->cursor_state.enable) ?
392 CM_ERASE : CM_DRAW; 390 CM_ERASE : CM_DRAW;