Reviewed-by: Christian König <christian.koenig at amd.com> as well. Christian. Am 23.05.2018 um 19:11 schrieb Andrey Grodzovsky: > Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com> > > Andrey > > > On 05/23/2018 01:08 PM, Harry Wentland wrote: >> It throws an unused variable warning. >> >> Signed-off-by: Harry Wentland <harry.wentland at amd.com> >> --- >>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 - >>  1 file changed, 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c >> b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c >> index c1654a4dfd82..57a4f393ada3 100644 >> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c >> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c >> @@ -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 > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx