Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30bfa4ee authored by Liu Ying's avatar Liu Ying Committed by Daniel Vetter
Browse files

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: default avatarLiu Ying <Ying.Liu@freescale.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 4cf2b281
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;