diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2012-11-06 21:49:54 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-20 16:06:22 +1000 |
commit | 91926741ecd28dc246875a39a908c2f6aadb2542 (patch) | |
tree | 961aca6dcdb21fdaa85285bd35b255024bb54c8b /drivers | |
parent | 830e2837f5f6811b77cf3aa72e63343a8e6e9ef6 (diff) | |
download | linux-stable-91926741ecd28dc246875a39a908c2f6aadb2542.tar.gz linux-stable-91926741ecd28dc246875a39a908c2f6aadb2542.tar.bz2 linux-stable-91926741ecd28dc246875a39a908c2f6aadb2542.zip |
drm/ttm: remove ttm_mem_global->queue
It's unused.
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_memory.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_memory.c b/drivers/gpu/drm/ttm/ttm_memory.c index 479c6b0467ca..dbc2def887cd 100644 --- a/drivers/gpu/drm/ttm/ttm_memory.c +++ b/drivers/gpu/drm/ttm/ttm_memory.c @@ -367,7 +367,6 @@ int ttm_mem_global_init(struct ttm_mem_global *glob) spin_lock_init(&glob->lock); glob->swap_queue = create_singlethread_workqueue("ttm_swap"); INIT_WORK(&glob->work, ttm_shrink_work); - init_waitqueue_head(&glob->queue); ret = kobject_init_and_add( &glob->kobj, &ttm_mem_glob_kobj_type, ttm_get_kobj(), "memory_accounting"); if (unlikely(ret != 0)) { |