Don't take dev->struct_mutex twice in drm_setsareactx.

main
Kristian Høgsberg 2007-07-03 10:31:46 -04:00
parent 91990946fa
commit 1814a829eb
1 changed files with 0 additions and 2 deletions

View File

@ -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;