diff options
author | Philip Yang <Philip.Yang@amd.com> | 2023-01-24 10:10:14 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:52:33 -0400 |
commit | 8c45a8340dd097ea0d6be6f718c4882283d9645d (patch) | |
tree | 415e1189017ec791a22ee47c41d63314e5173536 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 4482d3c94d7f1d6912521e6de23bb051bfcd084d (diff) | |
download | linux-8c45a8340dd097ea0d6be6f718c4882283d9645d.tar.gz linux-8c45a8340dd097ea0d6be6f718c4882283d9645d.tar.bz2 linux-8c45a8340dd097ea0d6be6f718c4882283d9645d.zip |
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_ras.c')
0 files changed, 0 insertions, 0 deletions