]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Remove unnecessary local variables in skl_plane_ctl*()
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 15 May 2015 14:07:02 +0000 (15:07 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 09:25:58 +0000 (11:25 +0200)
commitf221812dc04816fced1794ca48eded7214a01f11
tree7fcfaa260b09fc13a1f065345bc5b9da3e5c9e0b
parent2e0367769696a1f466204bc2774512a7c8eb0e3d
drm/i915/skl: Remove unnecessary local variables in skl_plane_ctl*()

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@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c