]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tv: Nuke silly 0 initialzation of xpos/ypos
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 12 Nov 2018 16:59:51 +0000 (18:59 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 Jan 2019 16:50:53 +0000 (18:50 +0200)
commit91f7c31ceb28a0805f56f1571b60f9ca465cb613
tree9a97047031b860a311094ff8c4e1ccd11f20a0db
parent6103b138c97530d8e738aa5312e9bc4c14749586
drm/i915/tv: Nuke silly 0 initialzation of xpos/ypos

Just assign the margin values directly to xpos/ypos instead
of first initializing to zero and then adding the values.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181112170000.27531-8-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_tv.c