Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0462796 authored by Tobias Jakobi's avatar Tobias Jakobi Committed by Inki Dae
Browse files

drm/exynos: g2d: simplify g2d_free_runqueue_node()



The function is never called with zero 'runqueue_node'.

Signed-off-by: default avatarTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 7c3fc2b5
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -845,9 +845,6 @@ static void g2d_free_runqueue_node(struct g2d_data *g2d,
{
	struct g2d_cmdlist_node *node;

	if (!runqueue_node)
		return;

	mutex_lock(&g2d->cmdlist_mutex);
	/*
	 * commands in run_cmdlist have been completed so unmap all gem