diff options
author | Bernard <bernard@vivo.com> | 2020-11-10 16:10:27 +0800 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-10-15 13:26:33 -0700 |
commit | f8f57a38a60bf3fbc5e1e6a5785fc3026f0db72b (patch) | |
tree | 030fe38dfd0d6795b323515902f1b848a43c3f47 | |
parent | 442f59b9c0dec876ccbad7e9839b3e969fcacd14 (diff) | |
download | linux-f8f57a38a60bf3fbc5e1e6a5785fc3026f0db72b.tar.bz2 |
drm/msm: delete conversion from bool value to bool return
Delete the conversion from bool value to bool function return.
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Link: https://lore.kernel.org/r/AI*ANACSDfnjQejyeNXUnKoQ.1.1604995827401.Hmail.bernard@vivo.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c index aa01698d6b25..34a6940d12c5 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c @@ -42,7 +42,7 @@ static bool dpu_encoder_phys_cmd_is_master(struct dpu_encoder_phys *phys_enc) { - return (phys_enc->split_role != ENC_ROLE_SLAVE) ? true : false; + return (phys_enc->split_role != ENC_ROLE_SLAVE); } static bool dpu_encoder_phys_cmd_mode_fixup( |