瀏覽代碼

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>
Chris Wilson 14 年之前
父節點
當前提交
53b2087d21
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/gpu/drm/i915/i915_dma.c

+ 0 - 1
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;
 	struct drm_i915_file_private *file_priv = file->driver_priv;
 
 
-	mutex_destroy(&file_priv->mutex);
 	kfree(file_priv);
 	kfree(file_priv);
 }
 }