mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
drm/amd/display: Simplify bool conversion
Fix the following coccicheck warning: ./drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c:3137:35-40: WARNING: conversion to bool not needed here Reported-by: Abaci Robot <abaci@linux.alibaba.com> Suggested-by: Yang Li <oswb@linux.alibaba.com> Signed-off-by: Abaci Team <abaci-bugfix@linux.alibaba.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d26bbbcc16
commit
20bdcc99ed
@ -3134,7 +3134,7 @@ void dcn10_setup_stereo(struct pipe_ctx *pipe_ctx, struct dc *dc)
|
||||
|
||||
pipe_ctx->stream_res.opp->funcs->opp_program_stereo(
|
||||
pipe_ctx->stream_res.opp,
|
||||
flags.PROGRAM_STEREO == 1 ? true:false,
|
||||
flags.PROGRAM_STEREO == 1,
|
||||
&stream->timing);
|
||||
|
||||
pipe_ctx->stream_res.tg->funcs->program_stereo(
|
||||
|
Loading…
Reference in New Issue
Block a user