Browse Source

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 years ago
parent
commit
3faf9ccc9a
1 changed files with 0 additions and 1 deletions
  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;
 		}
 		}
 	}
 	}