drm/msm: dpu: Remove impossible checks
authorSean Paul <seanpaul@chromium.org>
Wed, 12 Sep 2018 13:54:53 +0000 (09:54 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:52 +0000 (20:24 -0400)
commit3d04dc1444be774d8b474962d01b65306756ec54
treea997a61901d657b4a01156f75a8e851a7d7d6139
parenta8141bdbb4c90d41b41005c664fb1b35d29a1b54
drm/msm: dpu: Remove impossible checks

This patch removes some checks which are impossible to hit. As a result,
we can move some of the local var assignments into the declarations.

Changes in v2:
- None

Reviewed-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c