mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 05:48:04 +02:00
FreeBSD: There is no compelling reason to hold the lock here.
When I was lock profiling, this was high up on the list and I see no reason to do it.
This commit is contained in:
parent
d6c9786836
commit
9d402905c0
1 changed files with 0 additions and 2 deletions
|
|
@ -651,9 +651,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue