]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/amdgpu: remove unused member from struct amdgpu_bo
authorChristian König <christian.koenig@amd.com>
Thu, 15 Sep 2016 12:10:48 +0000 (14:10 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Sep 2016 20:16:20 +0000 (16:16 -0400)
Not used in a while.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c

index 9d79e4ba0213be8c85a60d4fb6ebb58a60a055b1..869d6ebc2ea3700d66c598b9aa399bb14c5da8d9 100644 (file)
@@ -446,8 +446,6 @@ struct amdgpu_bo_va {
 #define AMDGPU_GEM_DOMAIN_MAX          0x3
 
 struct amdgpu_bo {
-       /* Protected by gem.mutex */
-       struct list_head                list;
        /* Protected by tbo.reserved */
        u32                             prefered_domains;
        u32                             allowed_domains;
index 9b80dfedcb4a5227b6d42fbc16fb91270417fff9..171131f360cdb7c54b995641ae1b11b11c7ff4e3 100644 (file)
@@ -352,7 +352,6 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev,
                return r;
        }
        bo->adev = adev;
-       INIT_LIST_HEAD(&bo->list);
        INIT_LIST_HEAD(&bo->shadow_list);
        INIT_LIST_HEAD(&bo->va);
        bo->prefered_domains = domain & (AMDGPU_GEM_DOMAIN_VRAM |