drm/i915: Do a bit of cleanup in the sprite code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Oct 2013 15:02:14 +0000 (18:02 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Oct 2013 10:47:00 +0000 (12:47 +0200)
commit2afd9efd23437e2534a1caa6f8be4e70fd0d51c4
treeadc25fb6699d1de8ef3c26be6f6fd58a5f63ffa3
parent5f3fb46bbd643ddacde33fd5fe6f4db4ca963312
drm/i915: Do a bit of cleanup in the sprite code

Move the variable initialization to where the variables are declared,
and kill a pointless to_intel_crtc() cast when we already have the
casted pointer.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c