drm/amd/display: Simplify bool conversion
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 18 Oct 2023 01:22:32 +0000 (09:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Oct 2023 19:11:27 +0000 (15:11 -0400)
commit30440201edb0eb20352f5dfb509d407f4015259d
tree7d3358701c3a414738ed9deb03361c5c2c8999db
parent7e653e01a08c884c2a11cbedd3ab8bc939abb56d
drm/amd/display: Simplify bool conversion

./drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c:4802:84-89: WARNING: conversion to bool not needed here

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6901
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c