aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-07-31 14:39:25 +1000
committerDave Airlie <airlied@redhat.com>2008-07-31 14:39:25 +1000
commit296073dc5f0bf3f8b74a7d6db48b05c09a1b9242 (patch)
treed819f804a69c0b465fc39d69a40949d9251e273e /linux-core/drm_stub.c
parentd2d7f3069dac4bc5ddd3c8da4d3955f690274276 (diff)
drm: remove object hash
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r--linux-core/drm_stub.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index c62b901d..97533d72 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -207,12 +207,6 @@ static int drm_fill_in_dev(struct drm_device * dev, struct pci_dev *pdev,
return -ENOMEM;
}
- if (drm_ht_create(&dev->object_hash, DRM_OBJECT_HASH_ORDER)) {
- drm_ht_remove(&dev->map_hash);
- drm_memrange_takedown(&dev->offset_manager);
- return -ENOMEM;
- }
-
/* the DRM has 6 counters */
dev->counters = 6;
dev->types[0] = _DRM_STAT_LOCK;