Skip to contentSkip to conversation

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

PATCH New Timur Tabi 1 participant 1 message Oct 16, 2012 Framebuffer layer

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 6/9 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.

---
 drivers/video/fsl-diu-fb.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/video/fsl-diu-fb.c +0 -2
index 6e32ba8..fa7f200 100644
@@ -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 */
@@ -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 */
Signature · 1 line
1.7.3.4