浏览代码

drm/exynos: remove redundant mutex_unlock

The patch fixes unlocking in exynos_drm_component_del.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Andrzej Hajda 11 年之前
父节点
当前提交
3faf9ccc9a
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/gpu/drm/exynos/exynos_drm_drv.c

+ 0 - 1
drivers/gpu/drm/exynos/exynos_drm_drv.c

@@ -417,7 +417,6 @@ void exynos_drm_component_del(struct device *dev,
 		if (dev == cdev->dev) {
 		if (dev == cdev->dev) {
 			list_del(&cdev->list);
 			list_del(&cdev->list);
 			kfree(cdev);
 			kfree(cdev);
-			mutex_unlock(&drm_component_lock);
 			break;
 			break;
 		}
 		}
 	}
 	}