drm/amd/display: remove conversion to bool in dcn20_mpc.c
authorJason Yan <yanaijie@huawei.com>
Mon, 27 Apr 2020 06:37:14 +0000 (14:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Apr 2020 19:52:17 +0000 (15:52 -0400)
commit2367cad7599f40d87cbec0aaf06f3709ea75082e
treeb86fbfcf3c57e376864a21f78e8fd5422a27a4ac
parentb6e79d9a314ebe5fc44f882c607869d8f7ffb4a1
drm/amd/display: remove conversion to bool in dcn20_mpc.c

The '==' expression itself is bool, no need to convert it to bool again.
This fixes the following coccicheck warning:

drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c:455:70-75: WARNING:
conversion to bool not needed here

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c