aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fb_helper.c
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-06-19 15:14:37 +0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-06-19 09:16:27 +0200
commit30bfa4eec7e813825f7537149eb394605c41dbe8 (patch)
tree7ba525e729e67087109acf767ecadf464febb5f0 /drivers/gpu/drm/drm_fb_helper.c
parentdrm/debugfs: add an "edid_override" file per connector (diff)
downloadlinux-dev-30bfa4eec7e813825f7537149eb394605c41dbe8.tar.xz
linux-dev-30bfa4eec7e813825f7537149eb394605c41dbe8.zip
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>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
-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,
info->fix.ypanstep = 1; /* doing it in hw */
info->fix.ywrapstep = 0;
info->fix.accel = FB_ACCEL_NONE;
- info->fix.type_aux = 0;
info->fix.line_length = pitch;
return;