aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_fops.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-06-01 19:00:24 +1000
committerDave Airlie <airlied@linux.ie>2007-06-01 19:00:24 +1000
commit638c8087deecdf489eb4f70e82590d1be0c8c942 (patch)
treec75e52e21b3912e1d41ccdecbf3e78698c952a82 /linux-core/drm_fops.c
parent5c394b309de4325daae67fc766a0640b39658a64 (diff)
drm: fixup initialisation of list heads and idr
Diffstat (limited to 'linux-core/drm_fops.c')
-rw-r--r--linux-core/drm_fops.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index 9625d8f5..e54d5079 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -79,12 +79,6 @@ static int drm_setup(drm_device_t * dev)
drm_ht_create(&dev->magiclist, DRM_MAGIC_HASH_ORDER);
INIT_LIST_HEAD(&dev->magicfree);
- INIT_LIST_HEAD(&dev->ctxlist);
- INIT_LIST_HEAD(&dev->vmalist);
-
- INIT_LIST_HEAD(&dev->drwlist);
- idr_init(&dev->drw_idr);
-
dev->sigdata.lock = NULL;
init_waitqueue_head(&dev->lock.lock_queue);
dev->queue_count = 0;