diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-07-03 09:10:27 -0400 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-08-03 03:52:17 -0400 |
commit | c51f73b3ceb84f4454053afc8f3d35a54b95dc67 (patch) | |
tree | d304e788364c308c4c5c01fd933efb1eddb1036d | |
parent | 60b61c2f9e13cb1cfa995984d3a3dca1fdb6490d (diff) |
drm/exynos/ipp: remove unused field from exynos_drm_ipp_private
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>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_ipp.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 13be4982f5a0..dbb0973c8b5b 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h | |||
@@ -239,7 +239,6 @@ struct exynos_drm_g2d_private { | |||
239 | 239 | ||
240 | struct exynos_drm_ipp_private { | 240 | struct exynos_drm_ipp_private { |
241 | struct device *dev; | 241 | struct device *dev; |
242 | struct list_head event_list; | ||
243 | }; | 242 | }; |
244 | 243 | ||
245 | struct drm_exynos_file_private { | 244 | struct drm_exynos_file_private { |
diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c index f3f114cddaa0..5fb89c0206a9 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c +++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c | |||
@@ -534,7 +534,6 @@ int exynos_drm_ipp_set_property(struct drm_device *drm_dev, void *data, | |||
534 | INIT_LIST_HEAD(&c_node->mem_list[i]); | 534 | INIT_LIST_HEAD(&c_node->mem_list[i]); |
535 | 535 | ||
536 | INIT_LIST_HEAD(&c_node->event_list); | 536 | INIT_LIST_HEAD(&c_node->event_list); |
537 | list_splice_init(&priv->event_list, &c_node->event_list); | ||
538 | mutex_lock(&ippdrv->cmd_lock); | 537 | mutex_lock(&ippdrv->cmd_lock); |
539 | list_add_tail(&c_node->list, &ippdrv->cmd_list); | 538 | list_add_tail(&c_node->list, &ippdrv->cmd_list); |
540 | mutex_unlock(&ippdrv->cmd_lock); | 539 | mutex_unlock(&ippdrv->cmd_lock); |
@@ -1784,7 +1783,6 @@ static int ipp_subdrv_open(struct drm_device *drm_dev, struct device *dev, | |||
1784 | priv->dev = dev; | 1783 | priv->dev = dev; |
1785 | file_priv->ipp_priv = priv; | 1784 | file_priv->ipp_priv = priv; |
1786 | 1785 | ||
1787 | INIT_LIST_HEAD(&priv->event_list); | ||
1788 | 1786 | ||
1789 | DRM_DEBUG_KMS("done priv[0x%x]\n", (int)priv); | 1787 | DRM_DEBUG_KMS("done priv[0x%x]\n", (int)priv); |
1790 | 1788 | ||