]> Git Repo - linux.git/commitdiff
drm/fb-helper: Redundant info->fix.type_aux setting in drm_fb_helper_fill_fix()
authorLiu Ying <[email protected]>
Thu, 19 Jun 2014 07:14:37 +0000 (15:14 +0800)
committerDaniel Vetter <[email protected]>
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 <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
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;
This page took 0.056411 seconds and 4 git commands to generate.