summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2023-01-24 18:10:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 16:52:33 +0300
commit8c45a8340dd097ea0d6be6f718c4882283d9645d (patch)
tree415e1189017ec791a22ee47c41d63314e5173536 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent4482d3c94d7f1d6912521e6de23bb051bfcd084d (diff)
downloadlinux-8c45a8340dd097ea0d6be6f718c4882283d9645d.tar.xz
drm/amdkfd: Cleanup KFD nodes creation
kfd node allocation outside kfd->num_nodes loop is not needed and causes memory leak because kfd->num_nodes is at least equal to 1. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions