提交 62e0ff1e 编写于 作者: S Sergey Senozhatsky 提交者: Paul Mundt

fbcon: Remove unused 'display *p' variable from fb_flashcursor()

Signed-off-by: NSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 1fcf0069
...@@ -370,7 +370,6 @@ static void fb_flashcursor(struct work_struct *work) ...@@ -370,7 +370,6 @@ static void fb_flashcursor(struct work_struct *work)
{ {
struct fb_info *info = container_of(work, struct fb_info, queue); struct fb_info *info = container_of(work, struct fb_info, queue);
struct fbcon_ops *ops = info->fbcon_par; struct fbcon_ops *ops = info->fbcon_par;
struct display *p;
struct vc_data *vc = NULL; struct vc_data *vc = NULL;
int c; int c;
int mode; int mode;
...@@ -386,7 +385,6 @@ static void fb_flashcursor(struct work_struct *work) ...@@ -386,7 +385,6 @@ static void fb_flashcursor(struct work_struct *work)
return; return;
} }
p = &fb_display[vc->vc_num];
c = scr_readw((u16 *) vc->vc_pos); c = scr_readw((u16 *) vc->vc_pos);
mode = (!ops->cursor_flash || ops->cursor_state.enable) ? mode = (!ops->cursor_flash || ops->cursor_state.enable) ?
CM_ERASE : CM_DRAW; CM_ERASE : CM_DRAW;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册