aboutsummaryrefslogtreecommitdiffstats
path: root/exynos
diff options
context:
space:
mode:
authorSeung-Woo Kim2017-03-30 22:30:56 -0500
committerEmil Velikov2017-04-03 11:46:06 -0500
commit762be6c2102de0ec99659838a1423c4a131432ff (patch)
tree03017d7011af84a1a913308d90745f6d7179945f /exynos
parentc9ef5c4a1c691ebcdfa4261b406b8b81f7b5a18f (diff)
downloadexternal-libgbm-762be6c2102de0ec99659838a1423c4a131432ff.tar.gz
external-libgbm-762be6c2102de0ec99659838a1423c4a131432ff.tar.xz
external-libgbm-762be6c2102de0ec99659838a1423c4a131432ff.zip
exynos/fimg2d: remove unused-function build warning
The function g2d_reset() is not anymore used after the commit e3c97d1a2473 ("exynos/fimg2d: add g2d_validate_xyz() functions"), so it should be removed. Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Reviewed-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'exynos')
-rw-r--r--exynos/exynos_fimg2d.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c
index 7f1d105a..61340c36 100644
--- a/exynos/exynos_fimg2d.c
+++ b/exynos/exynos_fimg2d.c
@@ -293,20 +293,6 @@ static void g2d_set_direction(struct g2d_context *ctx,
293} 293}
294 294
295/* 295/*
296 * g2d_reset - reset fimg2d hardware.
297 *
298 * @ctx: a pointer to g2d_context structure.
299 *
300 */
301static void g2d_reset(struct g2d_context *ctx)
302{
303 ctx->cmd_nr = 0;
304 ctx->cmd_buf_nr = 0;
305
306 g2d_add_cmd(ctx, SOFT_RESET_REG, 0x01);
307}
308
309/*
310 * g2d_flush - submit all commands and values in user side command buffer 296 * g2d_flush - submit all commands and values in user side command buffer
311 * to command queue aware of fimg2d dma. 297 * to command queue aware of fimg2d dma.
312 * 298 *