mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-03 11:13:56 +08:00
drm/i915: remove bogus mutex_unlock from error-path
This has been lost in the locking rework for intel_alloc_context_page:
commit 2c34b850ee
Author: Ben Widawsky <ben@bwidawsk.net>
Date: Sat Mar 19 18:14:26 2011 -0700
drm/i915: fix ilk rc6 teardown locking
Cc: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
2b1086cc58
commit
002d71f262
@ -2289,7 +2289,6 @@ err_unpin:
|
|||||||
i915_gem_object_unpin(ctx);
|
i915_gem_object_unpin(ctx);
|
||||||
err_unref:
|
err_unref:
|
||||||
drm_gem_object_unreference(&ctx->base);
|
drm_gem_object_unreference(&ctx->base);
|
||||||
mutex_unlock(&dev->struct_mutex);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user