From ba858e06d8e73180643f40afa9f4de562dc40252 Mon Sep 17 00:00:00 2001 From: Tobias Jakobi Date: Tue, 24 Feb 2015 15:20:50 +0100 Subject: exynos: fimg2d: remove TRUE/FALSE from header The fimg2d header was defining TRUE and FALSE, but actually these defines are just used once. Remove them, since they don't make the code better readable/understandable. Signed-off-by: Tobias Jakobi Reviewed-by: Emil Velikov --- exynos/exynos_fimg2d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exynos/exynos_fimg2d.c') diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c index 03cf182f..398a8442 100644 --- a/exynos/exynos_fimg2d.c +++ b/exynos/exynos_fimg2d.c @@ -135,7 +135,7 @@ static int g2d_add_cmd(struct g2d_context *ctx, unsigned long cmd, break; } - return TRUE; + return 0; } /* @@ -187,7 +187,7 @@ static int g2d_flush(struct g2d_context *ctx) struct drm_exynos_g2d_set_cmdlist cmdlist; if (ctx->cmd_nr == 0 && ctx->cmd_buf_nr == 0) - return FALSE; + return -1; if (ctx->cmdlist_nr >= G2D_MAX_CMD_LIST_NR) { fprintf(stderr, "Overflow cmdlist.\n"); -- cgit v1.2.3