Skip to contentSkip to conversation

drm/fb-helper: Redundant info->fix.type_aux setting in drm_fb_helper_fill_fix()

PATCH Applied Liu Ying 2 participants 2 messages Jun 19, 2014

Subsystems (2)
lore
Share & tools
lore

Liu Ying

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/gpu/drm/drm_fb_helper.c |    1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/drm_fb_helper.c +0 -1
index 8daa4ad..142c39c 100644
@@ -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;
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 4 lines · Liu Ying

The variable info->fix.type_aux is set to zero twice in the function drm_fb_helper_fill_fix(). This patch removes one redundant.

Merged into my topic/core-stuff branch, will show up in 3.17. -Daniel

Quoted 23 lines
---
 drivers/gpu/drm/drm_fb_helper.c |    1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/drm_fb_helper.c +0 -1
index 8daa4ad..142c39c 100644
@@ -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;
Signature · 6 lines
1.7.9.5

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch