drm/msm/dpu: Remove unneeded checks in dpu_crtc.c
authorBruce Wang <bzwang@chromium.org>
Mon, 24 Sep 2018 16:22:24 +0000 (12:22 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:53 +0000 (20:24 -0400)
commit04b96b63c5640a305e30611def7a9c5fcd7a72cf
tree3fd65eb23de4f07856af7cddbf1e9382da0242c0
parentad444e55303c605d0d23b9b2a012a4e0c584834a
drm/msm/dpu: Remove unneeded checks in dpu_crtc.c

Removes impossible checks in dpu_crtc.c.
Variable assignments are moved up to be initializations where
possible. Some variables are no longer used, these are removed.

v3: reverted back to original patch

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Bruce Wang <bzwang@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c