UPSTREAM: 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.

BUG=b:66735140
TEST=boot Kahlee, run graphics_SanAngeles

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 Syrjl <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjl <ville.syrjala@linux.intel.com>
(cherry picked from commit 52b18e3a5a4db51e3b30bdb0ed4295595523105a)
Signed-off-by: Dominik Behr <dbehr@chromium.org>

Change-Id: Id3274d7486db1d35b519821c8c485312ce822d77
Reviewed-on: https://chromium-review.googlesource.com/713051
Commit-Ready: Dominik Behr <dbehr@chromium.org>
Tested-by: Dominik Behr <dbehr@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
1 file changed