drm/amdgpu: clear the warning unsigned compared against 0 for xcp_id
authorJesse Zhang <jesse.zhang@amd.com>
Thu, 9 May 2024 09:49:54 +0000 (17:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 20:11:53 +0000 (16:11 -0400)
commitb55bf19eb95e0ee3f97281d67dcaea9c8f5271d9
tree5ff06f0e092d2b4ed9c248d408c32749b8f4857c
parent1940708ccf5aff76de4e0b399f99267c93a89193
drm/amdgpu: clear the warning unsigned compared against 0 for xcp_id

This greater-than-or-equal-to-zero comparison of an unsigned value is always true. fpriv->xcp_id >= 0U

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c