OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c3fc2b
)
drm/exynos: g2d: simplify g2d_free_runqueue_node()
author
Tobias Jakobi
<tjakobi@math.uni-bielefeld.de>
Tue, 27 Sep 2016 15:59:57 +0000
(17:59 +0200)
committer
Inki Dae
<daeinki@gmail.com>
Fri, 30 Sep 2016 15:39:42 +0000
(
00:39
+0900)
The function is never called with zero 'runqueue_node'.
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_g2d.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_g2d.c
b/drivers/gpu/drm/exynos/exynos_drm_g2d.c
index
1f0bcff
..
aa92dec
100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_g2d.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_g2d.c
@@
-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