diff options
author | Timur Tabi <timur@freescale.com> | 2012-10-16 18:33:47 -0400 |
---|---|---|
committer | Timur Tabi <timur@freescale.com> | 2012-11-26 14:41:19 -0500 |
commit | 8deac723f7b6528e8ab3dec5ce1c913ce3d3009c (patch) | |
tree | a4fbf2c07461ae45d10a66b580e277a488c44827 /drivers/video/fsl-diu-fb.c | |
parent | 5cc2a36fe8aad05457f15d5908a980b67e0e945d (diff) |
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 <timur@freescale.com>
Diffstat (limited to 'drivers/video/fsl-diu-fb.c')
-rw-r--r-- | drivers/video/fsl-diu-fb.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 { | |||
337 | int registered; | 337 | int registered; |
338 | unsigned long pseudo_palette[16]; | 338 | unsigned long pseudo_palette[16]; |
339 | struct diu_ad *ad; | 339 | struct diu_ad *ad; |
340 | int cursor_reset; | ||
341 | unsigned char g_alpha; | 340 | unsigned char g_alpha; |
342 | unsigned int count; | 341 | unsigned int count; |
343 | int x_aoi_d; /* aoi display x offset to physical screen */ | 342 | 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 | hw = data->diu_reg; | 981 | hw = data->diu_reg; |
983 | 982 | ||
984 | set_fix(info); | 983 | set_fix(info); |
985 | mfbi->cursor_reset = 1; | ||
986 | 984 | ||
987 | len = info->var.yres_virtual * info->fix.line_length; | 985 | len = info->var.yres_virtual * info->fix.line_length; |
988 | /* Alloc & dealloc each time resolution/bpp change */ | 986 | /* Alloc & dealloc each time resolution/bpp change */ |