exynos/fimg2d: remove unused-function build warning

The function g2d_reset() is not anymore used after the commit
e3c97d1a24 ("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>
main
Seung-Woo Kim 2017-03-31 12:30:56 +09:00 committed by Emil Velikov
parent c9ef5c4a1c
commit 762be6c210
1 changed files with 0 additions and 14 deletions

View File

@ -292,20 +292,6 @@ static void g2d_set_direction(struct g2d_context *ctx,
g2d_add_cmd(ctx, DST_PAT_DIRECT_REG, dir->val[1]); g2d_add_cmd(ctx, DST_PAT_DIRECT_REG, dir->val[1]);
} }
/*
* g2d_reset - reset fimg2d hardware.
*
* @ctx: a pointer to g2d_context structure.
*
*/
static void g2d_reset(struct g2d_context *ctx)
{
ctx->cmd_nr = 0;
ctx->cmd_buf_nr = 0;
g2d_add_cmd(ctx, SOFT_RESET_REG, 0x01);
}
/* /*
* g2d_flush - submit all commands and values in user side command buffer * g2d_flush - submit all commands and values in user side command buffer
* to command queue aware of fimg2d dma. * to command queue aware of fimg2d dma.