diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-24 08:20:35 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-24 08:20:35 +0000 |
commit | 224ede3590f5f9d2b688e8d46059b8e722353499 (patch) | |
tree | 25d2e2cf36da5281193197a58becd20ab75615a8 /sys/dev/pci/drm | |
parent | e1239c1407da833448ef06f9f16beb05f840631a (diff) |
don't free extent on lastclose, it's static data now.
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r-- | sys/dev/pci/drm/drm_drv.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c index 8eacc31377f..b28780a0da7 100644 --- a/sys/dev/pci/drm/drm_drv.c +++ b/sys/dev/pci/drm/drm_drv.c @@ -313,12 +313,6 @@ drm_lastclose(struct drm_device *dev) drm_dma_takedown(dev); DRM_LOCK(); - if (dev->unique != NULL) { - drm_free(dev->unique, dev->unique_len + 1, DRM_MEM_DRIVER); - dev->unique = NULL; - dev->unique_len = 0; - } - /* Clear pid list */ while ((pt = SPLAY_ROOT(&dev->magiclist)) != NULL) { SPLAY_REMOVE(drm_magic_tree, &dev->magiclist, pt); |