Commit 157aa884 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Tomi Valkeinen
Browse files

drm/omap: dmm_tiler: No need to check if irq is valid in omap_dmm_remove



The driver probe would fail if the irq is not available.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 538f66ba
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -636,7 +636,6 @@ static int omap_dmm_remove(struct platform_device *dev)
		if (omap_dmm->dummy_page)
			__free_page(omap_dmm->dummy_page);

		if (omap_dmm->irq > 0)
		free_irq(omap_dmm->irq, omap_dmm);

		iounmap(omap_dmm->base);