Skip to content
Snippets Groups Projects
Commit 5ad8b7d1 authored by Helge Bahmann's avatar Helge Bahmann Committed by Dave Airlie
Browse files

drm: fix double lock typo


[airlied: you shall not retype patches from other trees half asleep]

Signed-of-by: default avatarDave Airlie <airlied@redhat.com>
parent fec6c6fe
No related merge requests found
......@@ -168,7 +168,7 @@ int drm_setmaster_ioctl(struct drm_device *dev, void *data,
file_priv->minor->master != file_priv->master) {
mutex_lock(&dev->struct_mutex);
file_priv->minor->master = drm_master_get(file_priv->master);
mutex_lock(&dev->struct_mutex);
mutex_unlock(&dev->struct_mutex);
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment