diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-04-13 18:32:13 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-04-13 18:32:13 -0400 |
commit | a84bd2ee81ea1bdbd238cd1c380ec25f50a876c5 (patch) | |
tree | ba054d4b1a20dadec088fd4d8983fb5939227e46 /drivers/video/console/fbcon.c | |
parent | aec995900fbc8cffa9f0f9e797ef07a0beb2b079 (diff) | |
parent | 7db6a7fa09884b34d2a5d4e6e4ed58664a5f0cf8 (diff) |
Merge branch 'fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6 into fixes
Diffstat (limited to 'drivers/video/console/fbcon.c')
-rw-r--r-- | drivers/video/console/fbcon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index c58393402da2..8745637e4b7e 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) | |||
370 | { | 370 | { |
371 | struct fb_info *info = container_of(work, struct fb_info, queue); | 371 | struct fb_info *info = container_of(work, struct fb_info, queue); |
372 | struct fbcon_ops *ops = info->fbcon_par; | 372 | struct fbcon_ops *ops = info->fbcon_par; |
373 | struct display *p; | ||
374 | struct vc_data *vc = NULL; | 373 | struct vc_data *vc = NULL; |
375 | int c; | 374 | int c; |
376 | int mode; | 375 | int mode; |
@@ -386,7 +385,6 @@ static void fb_flashcursor(struct work_struct *work) | |||
386 | return; | 385 | return; |
387 | } | 386 | } |
388 | 387 | ||
389 | p = &fb_display[vc->vc_num]; | ||
390 | c = scr_readw((u16 *) vc->vc_pos); | 388 | c = scr_readw((u16 *) vc->vc_pos); |
391 | mode = (!ops->cursor_flash || ops->cursor_state.enable) ? | 389 | mode = (!ops->cursor_flash || ops->cursor_state.enable) ? |
392 | CM_ERASE : CM_DRAW; | 390 | CM_ERASE : CM_DRAW; |