summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2011-03-24 20:50:52 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2011-03-31 04:48:54 (GMT)
commit62e0ff1ef2d8ea0814487f73a7de431396a1e914 (patch)
tree64ac2f95e71eae0a1e9e657df46c6dfcd93fa868 /drivers/video
parent1fcf0069f4715f6f811466db68a547a348b4d5a9 (diff)
downloadlinux-fsl-qoriq-62e0ff1ef2d8ea0814487f73a7de431396a1e914.tar.xz
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')
-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 c583934..8745637 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)
{
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;