drm/amdgpu: Remove unused variable in amdgpu_device_gpu_recover
Subsystems (2)
PATCH 1/1 drm/amdgpu: Remove unused variable in amdgpu_device_gpu_recover
It throws an unused variable warning.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0 -1
@@ -3179,7 +3179,6 @@ static int amdgpu_device_reset_sriov(struct amdgpu_device *adev,int amdgpu_device_gpu_recover (struct amdgpu_device *adev,struct amdgpu_job *job,bool force) { -struct drm_atomic_state *state =NULL ;int i, r, resched;if (!force && !amdgpu_device_ip_check_soft_reset (adev)) {
Signature · 6 lines
2.17.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20180523170819.18775-1-harry.wentland-5C7GfCeVMHo@public.gmane.org
Andrey Grodzovsky
Reviewed-byAndrey
Quoted 12 lines · Harry Wentland
It throws an unused variable warning.
Signed-off-by Harry Wentland <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c static int amdgpu_device_reset_sriov(struct amdgpu_device *adev, · line 3184
Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0
-1@@ -3179,7 +3179,6 @@ static int amdgpu_device_reset_sriov(struct amdgpu_device *adev,int amdgpu_device_gpu_recover (struct amdgpu_device *adev,struct amdgpu_job *job,bool force) { -struct drm_atomic_state *state =NULL ;int i, r, resched;if (!force && !amdgpu_device_ip_check_soft_reset (adev)) {
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 2b4d2215-e1aa-cfa7-2edd-6a7fd1188c02-5C7GfCeVMHo@public.gmane.org
Christian König
Reviewed-byChristian.
Am 23.05.2018 um 19:11 schrieb Andrey Grodzovsky:
Quoted 22 lines
Reviewed-by Andrey Grodzovsky <[email protected]>Andrey
Quoted 16 lines · Harry Wentland
It throws an unused variable warning.
Signed-off-by Harry Wentland <[email protected]>---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 1 -1 file changed, 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0
-0@@ -3179,7 +3179,6 @@ static int amdgpu_device_reset_sriov(structamdgpu_device *adev, int amdgpu_device_gpu_recover(struct amdgpu_device *adev, struct amdgpu_job *job, bool force) {
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c static int amdgpu_device_reset_sriov(struct amdgpu_device *adev, · line 3184
Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0
-1- struct drm_atomic_state *state = NULL; int i, r, resched; if (!force && !amdgpu_device_ip_check_soft_reset(adev)) {_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx