Explorar o código

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>
Liu Ying %!s(int64=11) %!d(string=hai) anos
pai
achega
30bfa4eec7
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/gpu/drm/drm_fb_helper.c

+ 0 - 1
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;