Skip to content

Commit

Permalink
fbcon: Remove unused 'display *p' variable from fb_flashcursor()
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Sergey Senozhatsky authored and Paul Mundt committed Mar 31, 2011
1 parent 1fcf006 commit 62e0ff1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/console/fbcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ static void fb_flashcursor(struct work_struct *work)
{
struct fb_info *info = container_of(work, struct fb_info, queue);
struct fbcon_ops *ops = info->fbcon_par;
struct display *p;
struct vc_data *vc = NULL;
int c;
int mode;
Expand All @@ -386,7 +385,6 @@ static void fb_flashcursor(struct work_struct *work)
return;
}

p = &fb_display[vc->vc_num];
c = scr_readw((u16 *) vc->vc_pos);
mode = (!ops->cursor_flash || ops->cursor_state.enable) ?
CM_ERASE : CM_DRAW;
Expand Down

0 comments on commit 62e0ff1

Please sign in to comment.