提交 c0462796 编写于 作者: T Tobias Jakobi 提交者: Inki Dae

drm/exynos: g2d: simplify g2d_free_runqueue_node()

The function is never called with zero 'runqueue_node'.
Signed-off-by: NTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: NMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: NInki Dae <inki.dae@samsung.com>
上级 7c3fc2b5
...@@ -845,9 +845,6 @@ static void g2d_free_runqueue_node(struct g2d_data *g2d, ...@@ -845,9 +845,6 @@ static void g2d_free_runqueue_node(struct g2d_data *g2d,
{ {
struct g2d_cmdlist_node *node; struct g2d_cmdlist_node *node;
if (!runqueue_node)
return;
mutex_lock(&g2d->cmdlist_mutex); mutex_lock(&g2d->cmdlist_mutex);
/* /*
* commands in run_cmdlist have been completed so unmap all gem * commands in run_cmdlist have been completed so unmap all gem
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册