From d803bb6e68872ea474ef8caba33abb47c8ee19da Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Fri, 9 Apr 2010 14:01:37 +0300 Subject: [PATCH] OMAP: DSS2: Taal: Remove ESD work cancel from driver probe error handling ESD work is never queued in probe, no need to cancel it on probe error. Signed-off-by: Jani Nikula Signed-off-by: Tomi Valkeinen --- drivers/video/omap2/displays/panel-taal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index af0750e91a5d..b1e968d9e8bf 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c @@ -627,7 +627,6 @@ static int taal_probe(struct omap_dss_device *dssdev) err3: backlight_device_unregister(bldev); err2: - cancel_delayed_work_sync(&td->esd_work); destroy_workqueue(td->esd_wq); err1: kfree(td); -- GitLab