summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_context.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c
index 101a298c..ff08e809 100644
--- a/linux-core/drm_context.c
+++ b/linux-core/drm_context.c
@@ -245,8 +245,6 @@ int drm_setsareactx(struct inode *inode, struct file *filp,
if (!map)
goto bad;
- mutex_lock(&dev->struct_mutex);
-
ctx_sarea = idr_find(&dev->ctx_idr, request.ctx_id);
if (!ctx_sarea)
goto bad;