mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
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>
This commit is contained in:
parent
1fcf0069f4
commit
62e0ff1ef2
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue