+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); > -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html