diff options
| author | Christian König <[email protected]> | 2021-03-19 12:24:03 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-04-09 20:43:28 +0000 |
| commit | 266b2d25e3fe741ad8413ce913ef462bfbd823a0 (patch) | |
| tree | 621a04bfc615203df837c67ab28ad645c14d06aa /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amd/display: Removing unused code from dmub_cmd.h (diff) | |
| download | kernel-266b2d25e3fe741ad8413ce913ef462bfbd823a0.tar.gz kernel-266b2d25e3fe741ad8413ce913ef462bfbd823a0.zip | |
drm/amdgpu: remove irq_src->data handling
That is unused for quite some time now.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c index af026109421a..03412543427a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c @@ -382,11 +382,6 @@ void amdgpu_irq_fini(struct amdgpu_device *adev) kfree(src->enabled_types); src->enabled_types = NULL; - if (src->data) { - kfree(src->data); - kfree(src); - adev->irq.client[i].sources[j] = NULL; - } } kfree(adev->irq.client[i].sources); adev->irq.client[i].sources = NULL; |
