drm/exynos/ipp: remove unused field from exynos_drm_ipp_private
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 3 Jul 2014 13:10:27 +0000 (15:10 +0200)
committerInki Dae <daeinki@gmail.com>
Sun, 3 Aug 2014 07:52:17 +0000 (16:52 +0900)
The patch removes unused event_list field from struct exynos_drm_ipp_private.

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.h
drivers/gpu/drm/exynos/exynos_drm_ipp.c

index 13be4982f5a00d7fec7bb39643dbce6b9c19cdd3..dbb0973c8b5bb7268e2d766d53c856541b68cf8d 100644 (file)
@@ -239,7 +239,6 @@ struct exynos_drm_g2d_private {
 
 struct exynos_drm_ipp_private {
        struct device   *dev;
-       struct list_head        event_list;
 };
 
 struct drm_exynos_file_private {
index f3f114cddaa06000b3c6493722be553e1b96062c..5fb89c0206a9b7c1c28c0ca9290573eb740cc9b6 100644 (file)
@@ -534,7 +534,6 @@ int exynos_drm_ipp_set_property(struct drm_device *drm_dev, void *data,
                INIT_LIST_HEAD(&c_node->mem_list[i]);
 
        INIT_LIST_HEAD(&c_node->event_list);
-       list_splice_init(&priv->event_list, &c_node->event_list);
        mutex_lock(&ippdrv->cmd_lock);
        list_add_tail(&c_node->list, &ippdrv->cmd_list);
        mutex_unlock(&ippdrv->cmd_lock);
@@ -1784,7 +1783,6 @@ static int ipp_subdrv_open(struct drm_device *drm_dev, struct device *dev,
        priv->dev = dev;
        file_priv->ipp_priv = priv;
 
-       INIT_LIST_HEAD(&priv->event_list);
 
        DRM_DEBUG_KMS("done priv[0x%x]\n", (int)priv);