From: Timur Tabi Date: Tue, 16 Oct 2012 22:33:47 +0000 (-0500) Subject: drivers/video: fsl-diu-fb: remove unused 'cursor_reset' variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8deac723f7b6528e8ab3dec5ce1c913ce3d3009c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Timur Tabi --- diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c index 6e32ba83aa5b..fa7f20039dd2 100644 --- a/drivers/video/fsl-diu-fb.c +++ b/drivers/video/fsl-diu-fb.c @@ -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 */