drm/exynos: remove redundant mutex_unlock
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 23 May 2014 10:57:54 +0000 (12:57 +0200)
committerInki Dae <daeinki@gmail.com>
Sun, 1 Jun 2014 17:07:12 +0000 (02:07 +0900)
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>
drivers/gpu/drm/exynos/exynos_drm_drv.c

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