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)
commit52b18e3a5a4db51e3b30bdb0ed4295595523105a
tree2033902f6801c4569752940c20096d10cfc88081
parent47a369deaf31d247bb0074e31ecbccb44e80e542
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