]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5520ceccbbb505e5f2dec14b6febf0d5d0e2cec9
treeadc25fb6699d1de8ef3c26be6f6fd58a5f63ffa3
parent46e9fac7c0be16d966f15d7db2ea009f2f512bee
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