Commit f8f57a38 authored by Bernard's avatar Bernard Committed by Rob Clark

drm/msm: delete conversion from bool value to bool return

Delete the conversion from bool value to bool function return.
Signed-off-by: default avatarBernard Zhao <bernard@vivo.com>
Link: https://lore.kernel.org/r/AI*ANACSDfnjQejyeNXUnKoQ.1.1604995827401.Hmail.bernard@vivo.comSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 442f59b9
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
static bool dpu_encoder_phys_cmd_is_master(struct dpu_encoder_phys *phys_enc) 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( static bool dpu_encoder_phys_cmd_mode_fixup(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment