diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2019-01-25 12:02:11 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-01-28 11:43:38 -0500 |
commit | cbce5f0a9f306f890d257a92fcca6cb341af76ed (patch) | |
tree | 22a05e1fd5bd08d55ccca6dcb726645e092f34cb /drivers/gpu/drm/ttm/ttm_bo.c | |
parent | 706b7761abea968da71639a2a715afd72add7155 (diff) | |
download | linux-next-cbce5f0a9f306f890d257a92fcca6cb341af76ed.tar.gz |
drm/ttm: Remove ttm_bo_reference and ttm_bo_unref
Both functions are obsolete and all calls have been replaced by
ttm_bo_get and ttm_bo_put.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_bo.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index de088c8070fb..3f56647cdb35 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -679,15 +679,6 @@ void ttm_bo_put(struct ttm_buffer_object *bo) } EXPORT_SYMBOL(ttm_bo_put); -void ttm_bo_unref(struct ttm_buffer_object **p_bo) -{ - struct ttm_buffer_object *bo = *p_bo; - - *p_bo = NULL; - ttm_bo_put(bo); -} -EXPORT_SYMBOL(ttm_bo_unref); - int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev) { return cancel_delayed_work_sync(&bdev->wq); |