diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-01-24 18:10:14 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 16:52:33 +0300 |
commit | 8c45a8340dd097ea0d6be6f718c4882283d9645d (patch) | |
tree | 415e1189017ec791a22ee47c41d63314e5173536 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 4482d3c94d7f1d6912521e6de23bb051bfcd084d (diff) | |
download | linux-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