diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2012-11-06 16:49:54 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-20 01:06:22 -0500 |
commit | 91926741ecd28dc246875a39a908c2f6aadb2542 (patch) | |
tree | 961aca6dcdb21fdaa85285bd35b255024bb54c8b /include/drm/ttm | |
parent | 830e2837f5f6811b77cf3aa72e63343a8e6e9ef6 (diff) |
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 'include/drm/ttm')
-rw-r--r-- | include/drm/ttm/ttm_memory.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_memory.h b/include/drm/ttm/ttm_memory.h index d6d1da468c97..72dcbe81dd07 100644 --- a/include/drm/ttm/ttm_memory.h +++ b/include/drm/ttm/ttm_memory.h | |||
@@ -60,7 +60,6 @@ struct ttm_mem_shrink { | |||
60 | * for the GPU, and this will otherwise block other workqueue tasks(?) | 60 | * for the GPU, and this will otherwise block other workqueue tasks(?) |
61 | * At this point we use only a single-threaded workqueue. | 61 | * At this point we use only a single-threaded workqueue. |
62 | * @work: The workqueue callback for the shrink queue. | 62 | * @work: The workqueue callback for the shrink queue. |
63 | * @queue: Wait queue for processes suspended waiting for memory. | ||
64 | * @lock: Lock to protect the @shrink - and the memory accounting members, | 63 | * @lock: Lock to protect the @shrink - and the memory accounting members, |
65 | * that is, essentially the whole structure with some exceptions. | 64 | * that is, essentially the whole structure with some exceptions. |
66 | * @zones: Array of pointers to accounting zones. | 65 | * @zones: Array of pointers to accounting zones. |
@@ -80,7 +79,6 @@ struct ttm_mem_global { | |||
80 | struct ttm_mem_shrink *shrink; | 79 | struct ttm_mem_shrink *shrink; |
81 | struct workqueue_struct *swap_queue; | 80 | struct workqueue_struct *swap_queue; |
82 | struct work_struct work; | 81 | struct work_struct work; |
83 | wait_queue_head_t queue; | ||
84 | spinlock_t lock; | 82 | spinlock_t lock; |
85 | struct ttm_mem_zone *zones[TTM_MEM_MAX_ZONES]; | 83 | struct ttm_mem_zone *zones[TTM_MEM_MAX_ZONES]; |
86 | unsigned int num_zones; | 84 | unsigned int num_zones; |