aboutsummaryrefslogtreecommitdiff
path: root/linux-core/xgi_drv.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-08-06 16:17:23 -0700
committerIan Romanick <idr@us.ibm.com>2007-08-06 16:17:23 -0700
commit90907c59152f628d6f0efea4927a06e547f4a3c7 (patch)
tree9bae338845d3446c6e131e9d96afadb038a2386c /linux-core/xgi_drv.c
parentf96bff9e213a950ab910832908d30e732435e628 (diff)
Replace per-heap semaphores with drm_device::struct_mutex.
Diffstat (limited to 'linux-core/xgi_drv.c')
-rw-r--r--linux-core/xgi_drv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux-core/xgi_drv.c b/linux-core/xgi_drv.c
index 33b3a51d..e98fd608 100644
--- a/linux-core/xgi_drv.c
+++ b/linux-core/xgi_drv.c
@@ -360,9 +360,6 @@ int xgi_driver_load(struct drm_device *dev, unsigned long flags)
dev->dev_private = info;
info->dev = dev;
- sema_init(&info->fb_sem, 1);
- sema_init(&info->pcie_sem, 1);
-
info->mmio.base = drm_get_resource_start(dev, 1);
info->mmio.size = drm_get_resource_len(dev, 1);