drm/i915: Remove pointless 'ddi_translations' local variable
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Dec 2015 17:59:39 +0000 (19:59 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Jan 2016 13:59:58 +0000 (15:59 +0200)
commitacee29988e9a22a343728c36954d2ea6f9c0c970
tree9e0f3d9e150d6b2dd4ccf37720e3a2da2faee965
parentccb1a8319015d31a51e8206b66ab3aaea07417ba
drm/i915: Remove pointless 'ddi_translations' local variable

skl_get_buf_trans_*() don't need the 'ddi_translations' local variable
since all they with is assign and return. Just return the right thing
directly and get rid of the local variable.

v2: Resolve conflicts due to KBL

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v1)
drivers/gpu/drm/i915/intel_ddi.c
This page took 0.025283 seconds and 5 git commands to generate.