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)
commitc34ce3d19544dc5595938816af675e1e05b95920
tree7fcfaa260b09fc13a1f065345bc5b9da3e5c9e0b
parenta856c5bdf40c218ef1875147455d9d24d01c11c9
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