]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
fbcon: Remove unused 'display *p' variable from fb_flashcursor()
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Thu, 24 Mar 2011 20:50:52 +0000 (20:50 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 31 Mar 2011 04:48:54 +0000 (13:48 +0900)
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/console/fbcon.c

index c58393402da2ef466bd8de0edce08dae0ea53aac..8745637e4b7e3811d27935b07dd1a24e6f3700c0 100644 (file)
@@ -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;