Skip to content

Commit

Permalink
drivers/video: fsl-diu-fb: remove unused 'cursor_reset' variable
Browse files Browse the repository at this point in the history
Probably left over from initial development in hardware cursor support
that never made it upstream.

Signed-off-by: Timur Tabi <timur@freescale.com>
  • Loading branch information
Timur Tabi committed Nov 26, 2012
1 parent 5cc2a36 commit 8deac72
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/video/fsl-diu-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ struct mfb_info {
int registered;
unsigned long pseudo_palette[16];
struct diu_ad *ad;
int cursor_reset;
unsigned char g_alpha;
unsigned int count;
int x_aoi_d; /* aoi display x offset to physical screen */
Expand Down Expand Up @@ -982,7 +981,6 @@ static int fsl_diu_set_par(struct fb_info *info)
hw = data->diu_reg;

set_fix(info);
mfbi->cursor_reset = 1;

len = info->var.yres_virtual * info->fix.line_length;
/* Alloc & dealloc each time resolution/bpp change */
Expand Down

0 comments on commit 8deac72

Please sign in to comment.