diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-26 17:21:10 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-26 17:21:10 -0400 |
commit | 53b2087d218c100657bddcb8ae887fa07862fb81 (patch) | |
tree | a787710a4746854bc187fe1168729d79d13f86b7 /drivers/gpu/drm/i915/i915_dma.c | |
parent | 1c25595f8d31392b8c36b54c624d01591dbfb87b (diff) |
drm/i915: fix debugging compilation error from previous commit
There is no equivalent to mutex_destroy() for spinlocks so just delete
the code.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index b752c31fbcff..df1c3533a6c8 100644 --- 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) | |||
2221 | { | 2221 | { |
2222 | struct drm_i915_file_private *file_priv = file->driver_priv; | 2222 | struct drm_i915_file_private *file_priv = file->driver_priv; |
2223 | 2223 | ||
2224 | mutex_destroy(&file_priv->mutex); | ||
2225 | kfree(file_priv); | 2224 | kfree(file_priv); |
2226 | } | 2225 | } |
2227 | 2226 | ||