we should not be unlocking this here

This commit is contained in:
Dave Airlie 2007-12-18 19:16:51 +11:00
parent b13dc383df
commit 01f905c177

View file

@ -165,7 +165,6 @@ struct drm_framebuffer *drm_framebuffer_create(struct drm_device *dev)
/* Limit to single framebuffer for now */
if (dev->mode_config.num_fb > 1) {
mutex_unlock(&dev->mode_config.mutex);
DRM_ERROR("Attempt to add multiple framebuffers failed\n");
return NULL;
}