[Intel-gfx] [PATCH] drm/i915/skl: Remove unnecessary local variables in skl_plane_ctl*()
Daniel Vetter
daniel at ffwll.ch
Mon May 18 00:17:10 PDT 2015
On Fri, May 15, 2015 at 03:07:02PM +0100, Damien Lespiau wrote:
> Ville noticed in another patch we we didn't need them at all, so remove
> them. It's worth saying that it makes no difference to code generated as
> gcc is clever enough to optimize it out.
>
> v2: Remove 'break' after 'return' in switches (Ville)
>
> Suggested-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Queued for -next, thanks for the patch.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list