[PATCH 1/6] drm/exynos: remove leftover code using event_list
Gustavo Padovan
gustavo at padovan.org
Fri Jan 23 04:42:55 PST 2015
From: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
The drm_file event_list hasn't been used anymore by exynos, so we don't
need any code to clean it.
Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>
---
drivers/gpu/drm/exynos/exynos_drm_drv.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index 25ba362..b60fd9b 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -256,11 +256,6 @@ static void exynos_drm_postclose(struct drm_device *dev, struct drm_file *file)
}
}
- /* Release all events handled by page flip handler but not freed. */
- list_for_each_entry_safe(e, et, &file->event_list, link) {
- list_del(&e->link);
- e->destroy(e);
- }
spin_unlock_irqrestore(&dev->event_lock, flags);
kfree(file->driver_priv);
--
1.9.3
More information about the dri-devel
mailing list