Commit a14af87b authored by Jerome Glisse's avatar Jerome Glisse Committed by Dave Airlie

drm/ttm: remove unused backend flags field

This field is not use by any of the driver just drop it.
Signed-off-by: default avatarJerome Glisse <jglisse@redhat.com>
Reviewed-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
parent 667b7a27
...@@ -787,7 +787,6 @@ struct ttm_backend *radeon_ttm_backend_create(struct radeon_device *rdev) ...@@ -787,7 +787,6 @@ struct ttm_backend *radeon_ttm_backend_create(struct radeon_device *rdev)
return NULL; return NULL;
} }
gtt->backend.bdev = &rdev->mman.bdev; gtt->backend.bdev = &rdev->mman.bdev;
gtt->backend.flags = 0;
gtt->backend.func = &radeon_backend_func; gtt->backend.func = &radeon_backend_func;
gtt->rdev = rdev; gtt->rdev = rdev;
gtt->pages = NULL; gtt->pages = NULL;
......
...@@ -106,7 +106,6 @@ struct ttm_backend_func { ...@@ -106,7 +106,6 @@ struct ttm_backend_func {
* struct ttm_backend * struct ttm_backend
* *
* @bdev: Pointer to a struct ttm_bo_device. * @bdev: Pointer to a struct ttm_bo_device.
* @flags: For driver use.
* @func: Pointer to a struct ttm_backend_func that describes * @func: Pointer to a struct ttm_backend_func that describes
* the backend methods. * the backend methods.
* *
...@@ -114,7 +113,6 @@ struct ttm_backend_func { ...@@ -114,7 +113,6 @@ struct ttm_backend_func {
struct ttm_backend { struct ttm_backend {
struct ttm_bo_device *bdev; struct ttm_bo_device *bdev;
uint32_t flags;
struct ttm_backend_func *func; struct ttm_backend_func *func;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment