drm/amdkfd: Remove unnecessary condition in kfd_topology_add_device()
authorDan Carpenter <error27@gmail.com>
Fri, 25 Nov 2022 07:39:49 +0000 (10:39 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Nov 2022 16:03:37 +0000 (11:03 -0500)
commit7d4f8db4a1448e0b6acbadf53c51cae8a2fef753
tree41f71da5cb4eef2d8be276f53bc7808513351b1d
parent484d7dcc709da46a5976c9530eeff931e9ecba82
drm/amdkfd: Remove unnecessary condition in kfd_topology_add_device()

We re-arranged this code recently so "ret" is always zero at this point.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c