dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/fb-helper: Redundant info->fix.type_aux setting in drm_fb_helper_fill_fix()
@ 2014-06-19  7:14 Liu Ying
  2014-06-19  7:16 ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Ying @ 2014-06-19  7:14 UTC (permalink / raw)
  To: dri-devel

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>
---
 drivers/gpu/drm/drm_fb_helper.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 8daa4ad..142c39c 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/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;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/fb-helper: Redundant info->fix.type_aux setting in drm_fb_helper_fill_fix()
  2014-06-19  7:14 [PATCH] drm/fb-helper: Redundant info->fix.type_aux setting in drm_fb_helper_fill_fix() Liu Ying
@ 2014-06-19  7:16 ` Daniel Vetter
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2014-06-19  7:16 UTC (permalink / raw)
  To: Liu Ying; +Cc: dri-devel

On Thu, Jun 19, 2014 at 03:14:37PM +0800, Liu Ying wrote:
> 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>

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

> ---
>  drivers/gpu/drm/drm_fb_helper.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
> index 8daa4ad..142c39c 100644
> --- a/drivers/gpu/drm/drm_fb_helper.c
> +++ b/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;
> -- 
> 1.7.9.5
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-19  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-19  7:14 [PATCH] drm/fb-helper: Redundant info->fix.type_aux setting in drm_fb_helper_fill_fix() Liu Ying
2014-06-19  7:16 ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox