drm/ttm: remove unused backend flags field
authorJerome Glisse <jglisse@redhat.com>
Tue, 1 Nov 2011 21:48:33 +0000 (17:48 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 10:38:48 +0000 (10:38 +0000)
This field is not use by any of the driver just drop it.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/radeon/radeon_ttm.c
include/drm/ttm/ttm_bo_driver.h

index 0b5468bfaf54484531062bec756aa874e844bb3a..97c76aeae42e1d662ec9c6962ee3afb8ffd565dd 100644 (file)
@@ -787,7 +787,6 @@ struct ttm_backend *radeon_ttm_backend_create(struct radeon_device *rdev)
                return NULL;
        }
        gtt->backend.bdev = &rdev->mman.bdev;
-       gtt->backend.flags = 0;
        gtt->backend.func = &radeon_backend_func;
        gtt->rdev = rdev;
        gtt->pages = NULL;
index 9da182b400ecf60ddcc3233c1bc89a4a4756cec6..6d171406e1eed6b26b612f504dff92f70dabad99 100644 (file)
@@ -106,7 +106,6 @@ struct ttm_backend_func {
  * struct ttm_backend
  *
  * @bdev: Pointer to a struct ttm_bo_device.
- * @flags: For driver use.
  * @func: Pointer to a struct ttm_backend_func that describes
  * the backend methods.
  *
@@ -114,7 +113,6 @@ struct ttm_backend_func {
 
 struct ttm_backend {
        struct ttm_bo_device *bdev;
-       uint32_t flags;
        struct ttm_backend_func *func;
 };