/drivers/video/drm/drm_global.c |
---|
68,7 → 68,6 |
{ |
int ret; |
struct drm_global_item *item = &glob[ref->global_type]; |
void *object; |
mutex_lock(&item->mutex); |
if (item->refcount == 0) { |
86,7 → 85,6 |
} |
++item->refcount; |
ref->object = item->object; |
object = item->object; |
mutex_unlock(&item->mutex); |
return 0; |
out_err: |