Author: rnoland Date: Wed Feb 25 18:19:16 2009 New Revision: 189046 URL: http://svn.freebsd.org/changeset/base/189046
Log: 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 Modified: head/sys/dev/drm/drm_drv.c Modified: head/sys/dev/drm/drm_drv.c ============================================================================== --- head/sys/dev/drm/drm_drv.c Wed Feb 25 18:16:50 2009 (r189045) +++ head/sys/dev/drm/drm_drv.c Wed Feb 25 18:19:16 2009 (r189046) @@ -658,9 +658,7 @@ int drm_ioctl(struct cdev *kdev, u_long 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; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"