From: Sergey Senozhatsky Date: Thu, 24 Mar 2011 20:50:52 +0000 (+0000) Subject: fbcon: Remove unused 'display *p' variable from fb_flashcursor() X-Git-Tag: v2.6.39-rc3~14^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62e0ff1ef2d8ea0814487f73a7de431396a1e914;p=platform%2Fupstream%2Fkernel-adaptation-pc.git fbcon: Remove unused 'display *p' variable from fb_flashcursor() Signed-off-by: Sergey Senozhatsky Signed-off-by: Paul Mundt --- 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;