aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-06-19 03:14:37 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-06-19 03:16:27 -0400
commit30bfa4eec7e813825f7537149eb394605c41dbe8 (patch)
tree7ba525e729e67087109acf767ecadf464febb5f0
parent4cf2b28146713d39f78bd62002a8ab00075c63b7 (diff)
drm/fb-helper: Redundant info->fix.type_aux setting in drm_fb_helper_fill_fix()
The variable info->fix.type_aux is set to zero twice in the function drm_fb_helper_fill_fix(). This patch removes one redundant. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/drm_fb_helper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index d5d8cea1a679..7ff98063925f 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -1056,7 +1056,6 @@ void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch,
1056 info->fix.ypanstep = 1; /* doing it in hw */ 1056 info->fix.ypanstep = 1; /* doing it in hw */
1057 info->fix.ywrapstep = 0; 1057 info->fix.ywrapstep = 0;
1058 info->fix.accel = FB_ACCEL_NONE; 1058 info->fix.accel = FB_ACCEL_NONE;
1059 info->fix.type_aux = 0;
1060 1059
1061 info->fix.line_length = pitch; 1060 info->fix.line_length = pitch;
1062 return; 1061 return;