mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue