On 2018å¹´04æ??19æ?¥ 17:29, Christian König wrote: > This lock isn't used any more. > > Signed-off-by: Christian König <christian.koenig at amd.com> Reviewed-by: Chunming Zhou <david1.zhou at amd.com> > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h > index 30f080364c97..aef897b93866 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h > @@ -186,9 +186,6 @@ struct amdgpu_vm { > struct amdgpu_vm_pt root; > struct dma_fence *last_update; > > - /* protecting freed */ > - spinlock_t freed_lock; > - > /* Scheduler entity for page table updates */ > struct drm_sched_entity entity; >