projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c25595
)
drm/i915: fix debugging compilation error from previous commit
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 26 Sep 2010 21:21:10 +0000
(22:21 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Sun, 26 Sep 2010 21:21:10 +0000
(22:21 +0100)
There is no equivalent to mutex_destroy() for spinlocks so just delete
the code.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_dma.c
b/drivers/gpu/drm/i915/i915_dma.c
index b752c31fbcffe9f2b76ef035e1c1ec79d7ab793a..df1c3533a6c8e0ac1af6ad5d682ad3b81d99db7e 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_dma.c
+++ b/
drivers/gpu/drm/i915/i915_dma.c
@@
-2221,7
+2221,6
@@
void i915_driver_postclose(struct drm_device *dev, struct drm_file *file)
{
struct drm_i915_file_private *file_priv = file->driver_priv;
- mutex_destroy(&file_priv->mutex);
kfree(file_priv);
}