projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
442f59b
)
drm/msm: delete conversion from bool value to bool return
author
Bernard
<bernard@vivo.com>
Tue, 10 Nov 2020 08:10:27 +0000
(16:10 +0800)
committer
Rob Clark
<robdclark@chromium.org>
Fri, 15 Oct 2021 20:26:33 +0000
(13:26 -0700)
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>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c
patch
|
blob
|
history
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
aa01698
..
34a6940
100644
(file)
--- 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(