[PATCH] drm/amdgpu/nv: remove unused variable

Alex Deucher alexander.deucher at amd.com
Thu May 13 18:41:39 UTC 2021


Remove it.

Fixes: b8d598968950 ("drm/amdgpu: Complete multimedia bandwidth interface")
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Cc: Bokun Zhang <bokun.zhang at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/nv.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 9f74060207a4..32c34470404c 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -1276,7 +1276,6 @@ static int nv_common_early_init(void *handle)
 static int nv_common_late_init(void *handle)
 {
 	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
-	uint32_t i;
 
 	if (amdgpu_sriov_vf(adev)) {
 		xgpu_nv_mailbox_get_irq(adev);
-- 
2.31.1



More information about the amd-gfx mailing list