summaryrefslogtreecommitdiff
path: root/bsd-core/drm_lock.c
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2009-02-24 00:22:56 -0600
committerRobert Noland <rnoland@2hip.net>2009-02-24 00:22:56 -0600
commit1c381092a310af9b1b39b3a983ad5760b71a9025 (patch)
tree4d477ca61a0bf99f0714946026878f4440cd6e94 /bsd-core/drm_lock.c
parent9f94e39f0d5bed48d5ea56767cd92a2509908df0 (diff)
FreeBSD: Rip out the locked task support now that i915 no longer uses it.
Diffstat (limited to 'bsd-core/drm_lock.c')
-rw-r--r--bsd-core/drm_lock.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/bsd-core/drm_lock.c b/bsd-core/drm_lock.c
index dec7281a..94b3f8bb 100644
--- a/bsd-core/drm_lock.c
+++ b/bsd-core/drm_lock.c
@@ -112,13 +112,6 @@ int drm_unlock(struct drm_device *dev, void *data, struct drm_file *file_priv)
return EINVAL;
}
- DRM_SPINLOCK(&dev->tsk_lock);
- if (dev->locked_task_call != NULL) {
- dev->locked_task_call(dev);
- dev->locked_task_call = NULL;
- }
- DRM_SPINUNLOCK(&dev->tsk_lock);
-
atomic_inc(&dev->counts[_DRM_STAT_UNLOCKS]);
DRM_LOCK();