[PATCH 3/4] drm/amdgpu/sdma6: drop unused variable

Alex Deucher alexander.deucher at amd.com
Tue Jul 12 15:13:47 UTC 2022


Unused so drop it.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
index 00ae5d65e1e4..0200cb3a31a4 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
@@ -843,7 +843,6 @@ static bool sdma_v6_0_check_soft_reset(void *handle)
 {
 	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
 	struct amdgpu_ring *ring;
-	u64 wptr_gpu_addr;
 	int i, r;
 	long tmo = msecs_to_jiffies(1000);
 
-- 
2.35.3



More information about the amd-gfx mailing list