+Cc Inki, Hi, On 01/23/2015 09:42 PM, Gustavo Padovan wrote: > From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxxxx> > --- > 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); > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel