Commit 8deac723 authored by Timur Tabi's avatar Timur Tabi

drivers/video: fsl-diu-fb: remove unused 'cursor_reset' variable

Probably left over from initial development in hardware cursor support
that never made it upstream.
Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
parent 5cc2a36f
...@@ -337,7 +337,6 @@ struct mfb_info { ...@@ -337,7 +337,6 @@ struct mfb_info {
int registered; int registered;
unsigned long pseudo_palette[16]; unsigned long pseudo_palette[16];
struct diu_ad *ad; struct diu_ad *ad;
int cursor_reset;
unsigned char g_alpha; unsigned char g_alpha;
unsigned int count; unsigned int count;
int x_aoi_d; /* aoi display x offset to physical screen */ int x_aoi_d; /* aoi display x offset to physical screen */
...@@ -982,7 +981,6 @@ static int fsl_diu_set_par(struct fb_info *info) ...@@ -982,7 +981,6 @@ static int fsl_diu_set_par(struct fb_info *info)
hw = data->diu_reg; hw = data->diu_reg;
set_fix(info); set_fix(info);
mfbi->cursor_reset = 1;
len = info->var.yres_virtual * info->fix.line_length; len = info->var.yres_virtual * info->fix.line_length;
/* Alloc & dealloc each time resolution/bpp change */ /* Alloc & dealloc each time resolution/bpp change */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment