Skip to contentSkip to conversation

drm/amdgpu/nv: remove unused variable

PATCH In review Alex Deucher 2 participants 2 messages May 13, 2021 – May 14, 2021

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu/nv: remove unused variable

Remove it.

Fixes b8d598968950 ("drm/amdgpu: Complete multimedia bandwidth interface")
Cc Bokun Zhang <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/nv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/nv.c +0 -1
index 9f74060207a4..32c34470404c 100644
@@ -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);
Signature · 6 lines
2.31.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by Nirmoy Das on v1 1/1
#1 lore raw
Quoted 14 lines · Alex Deucher

Remove it.

Fixes b8d598968950 ("drm/amdgpu: Complete multimedia bandwidth interface")
Cc Bokun Zhang <[email protected]>
---
  drivers/gpu/drm/amd/amdgpu/nv.c | 1 -
  1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/nv.c +0 -0
index 9f74060207a4..32c34470404c 100644

drivers/gpu/drm/amd/amdgpu/nv.c static int nv_common_early_init(void *handle) · line 1281

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/nv.c +0 -1
@@ -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);

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx