aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorKevin Wang <kevin1.wang@amd.com>2020-04-20 23:08:14 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-04-22 18:11:49 -0400
commite05185b34157ba606bd2200bcc3c335cf19422ae (patch)
tree37fdf3b4ad1d54469b06aa1359fa142f55a43f53 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent4cc1178e166a85cbc0f5e822426beceaafa7bef2 (diff)
downloadkernel_replicant_linux-e05185b34157ba606bd2200bcc3c335cf19422ae.tar.gz
kernel_replicant_linux-e05185b34157ba606bd2200bcc3c335cf19422ae.tar.bz2
kernel_replicant_linux-e05185b34157ba606bd2200bcc3c335cf19422ae.zip
drm/amdgpu: clean up unused variable about ring lru
clean up unused variable: 1. ring_lru_list 2. ring_lru_list_lock related-commit: drm/amdgpu: remove ring lru handling Signed-off-by: Kevin Wang <kevin1.wang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 889e68851504..c239035cdf14 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -2988,9 +2988,6 @@ int amdgpu_device_init(struct amdgpu_device *adev,
INIT_LIST_HEAD(&adev->shadow_list);
mutex_init(&adev->shadow_list_lock);
- INIT_LIST_HEAD(&adev->ring_lru_list);
- spin_lock_init(&adev->ring_lru_list_lock);
-
INIT_DELAYED_WORK(&adev->delayed_init_work,
amdgpu_device_delayed_init_work_handler);
INIT_DELAYED_WORK(&adev->gfx.gfx_off_delay_work,