[PATCH 1/6] drm/exynos: remove leftover code using event_list
Joonyoung Shim
jy0922.shim at samsung.com
Thu Jan 29 18:21:54 PST 2015
+Cc Inki,
Hi,
On 01/23/2015 09:42 PM, Gustavo Padovan wrote:
> 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.
>
No, it is used from drm core e.g. drm_irq.c file.
Thanks.
> 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);
>
More information about the dri-devel
mailing list