drm/i915: simplify setting DSPCNTR inside ironlake_crtc_mode_set
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 12 Sep 2012 13:06:32 +0000 (10:06 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Sep 2012 12:22:58 +0000 (14:22 +0200)
Because declaring a variable in the beginning of the function, then
initializing it 100 lines later, then using it 100 lines later does
not make our code look good IMHO.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found