]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Remove redundant NULL check during atomic plane commit
authorImre Deak <imre.deak@intel.com>
Wed, 26 Apr 2017 13:40:13 +0000 (16:40 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 8 May 2017 15:44:24 +0000 (18:44 +0300)
commit81d4b2c308074e893e65ce94be1db48a321396a5
tree2033902f6801c4569752940c20096d10cfc88081
parentde3e6dbf897b8ae8be1d94540766dd0c6389abc7
drm: Remove redundant NULL check during atomic plane commit

plane_state can't be NULL anywhere in this function, so the NULL check
at the end is redundant, remove it.

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1493214013-15580-9-git-send-email-imre.deak@intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/drm_plane_helper.c