All of lore.kernel.org
 help / color / mirror / Atom feed
From: Seung-Woo Kim <sw0312.kim@samsung.com>
To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com,
	emil.l.velikov@gmail.com
Cc: tjakobi@math.uni-bielefeld.de, sw0312.kim@samsung.com,
	robclark@freedesktop.org
Subject: [PATCH libdrm 2/3] exynos/fimg2d: remove unused-function build warning
Date: Fri, 31 Mar 2017 12:30:56 +0900	[thread overview]
Message-ID: <1490931057-30853-3-git-send-email-sw0312.kim@samsung.com> (raw)
In-Reply-To: <1490931057-30853-1-git-send-email-sw0312.kim@samsung.com>

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>
---
 exynos/exynos_fimg2d.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c
index 7f1d105..61340c3 100644
--- a/exynos/exynos_fimg2d.c
+++ b/exynos/exynos_fimg2d.c
@@ -293,20 +293,6 @@ static void g2d_set_direction(struct g2d_context *ctx,
 }
 
 /*
- * 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
  *		to command queue aware of fimg2d dma.
  *
-- 
1.7.4.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2017-03-31  3:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170331033036epcas5p40d5c3f7244c93cf9b3088e27b53ec9db@epcas5p4.samsung.com>
2017-03-31  3:30 ` [PATCH libdrm 0/3] remove build warnings for exynos Seung-Woo Kim
     [not found]   ` <CGME20170331033036epcas5p43ab05758c1a16c8b754d65b5d8578c43@epcas5p4.samsung.com>
2017-03-31  3:30     ` [PATCH libdrm 1/3] exynos: fix type-punned pointer build warning Seung-Woo Kim
2017-03-31  9:58       ` Tobias Jakobi
     [not found]   ` <CGME20170331033036epcas5p48e6a32ec3de74fa6f3101476d1c43bef@epcas5p4.samsung.com>
2017-03-31  3:30     ` Seung-Woo Kim [this message]
2017-03-31  9:56       ` [PATCH libdrm 2/3] exynos/fimg2d: remove unused-function " Tobias Jakobi
     [not found]   ` <CGME20170331033037epcas5p461fb6bc9ee12cfc2247a3ab4481aaf54@epcas5p4.samsung.com>
2017-03-31  3:30     ` [PATCH libdrm 3/3] tests/exynos: " Seung-Woo Kim
2017-04-03 16:28   ` [PATCH libdrm 0/3] remove build warnings for exynos Emil Velikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1490931057-30853-3-git-send-email-sw0312.kim@samsung.com \
    --to=sw0312.kim@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emil.l.velikov@gmail.com \
    --cc=inki.dae@samsung.com \
    --cc=robclark@freedesktop.org \
    --cc=tjakobi@math.uni-bielefeld.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.