summaryrefslogtreecommitdiff
path: root/linux-core/drm_bo.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_bo.c')
-rw-r--r--linux-core/drm_bo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c
index 343cc1ef..d6dce10a 100644
--- a/linux-core/drm_bo.c
+++ b/linux-core/drm_bo.c
@@ -1740,7 +1740,8 @@ int drm_bo_ioctl(DRM_IOCTL_ARGS)
entry =
drm_user_object_entry(uo, drm_buffer_object_t,
base);
- atomic_dec(&entry->usage);
+ /* I don't think this is needed - D.A. */
+ // atomic_dec(&entry->usage);
mutex_unlock(&dev->struct_mutex);
mutex_lock(&entry->mutex);
drm_bo_fill_rep_arg(entry, &rep);