drm/fb-helper: Redundant info->fix.type_aux setting in drm_fb_helper_fill_fix()
authorLiu Ying <Ying.Liu@freescale.com>
Thu, 19 Jun 2014 07:14:37 +0000 (15:14 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 19 Jun 2014 07:16:27 +0000 (09:16 +0200)
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>
drivers/gpu/drm/drm_fb_helper.c

index d5d8cea1a67996a4a3e61ebc657e68ec7ae6d9b6..7ff98063925fd7a85ca8c5f9fb810beb346d2b69 100644 (file)
@@ -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;