drm/i915: Replace big nested if block with early return
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Aug 2014 19:16:01 +0000 (22:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 09:04:05 +0000 (11:04 +0200)
commitbe2c9196e4da55b7351fc17dd6f3d11bd36ba893
treef00b989dbd078c0e191fa0234cbf207663896736
parent72c3500ac4c260df661906dd6da484b35d149985
drm/i915: Replace big nested if block with early return

Looks nicer.

Not functional change.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
[danvet: Add "No functional change" as requested by Jani.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c