Re: [PATCH] drm/amd/display: clean up redundant conversions to bool

From: José Pekkarinen
Date: Tue Nov 07 2023 - 12:07:22 EST


On 2023-11-07 17:39, Alex Deucher wrote:
On Tue, Nov 7, 2023 at 4:44 AM José Pekkarinen
<jose.pekkarinen@xxxxxxxxxxx> wrote:

This patch will address the following couple of warnings retrieved by
using coccinelle, where there is an explicit conversion to bool that
are redundant.

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c:94:102-107: WARNING: conversion to bool not needed here
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c:102:72-77: WARNING: conversion to bool not needed here

Signed-off-by: José Pekkarinen <jose.pekkarinen@xxxxxxxxxxx>

Thanks for the patch, but this was already fixed by Srinivasan a while ago.

My bad for not noticing, sorry!

Thanks though!

José.