diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-02-25 18:19:16 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-02-25 18:19:16 +0000 |
commit | 69ae0a399c16bf58ad9e38ec8ce5721c352950c5 (patch) | |
tree | 88a1b2cc5229e15ef971828b6dc59396021fc7f2 | |
parent | 1e7c6ababe5997a41b64a0692953ce03322a9816 (diff) | |
download | FreeBSD-src-69ae0a399c16bf58ad9e38ec8ce5721c352950c5.zip FreeBSD-src-69ae0a399c16bf58ad9e38ec8ce5721c352950c5.tar.gz |
There is no reason to hold the lock here.
When I was LOCK_PROFILING this was pretty high up and there is no
reason for it.
MFC after: 2 weeks
-rw-r--r-- | sys/dev/drm/drm_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/drm/drm_drv.c b/sys/dev/drm/drm_drv.c index 63be19b..14e543d 100644 --- a/sys/dev/drm/drm_drv.c +++ b/sys/dev/drm/drm_drv.c @@ -658,9 +658,7 @@ int drm_ioctl(struct cdev *kdev, u_long cmd, caddr_t data, int flags, int is_driver_ioctl = 0; struct drm_file *file_priv; - DRM_LOCK(); retcode = devfs_get_cdevpriv((void **)&file_priv); - DRM_UNLOCK(); if (retcode != 0) { DRM_ERROR("can't find authenticator\n"); return EINVAL; |