From patchwork Fri Mar 31 03:30:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seung-Woo Kim X-Patchwork-Id: 9655443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 48075602BD for ; Fri, 31 Mar 2017 03:30:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C6AE28641 for ; Fri, 31 Mar 2017 03:30:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 305D12867F; Fri, 31 Mar 2017 03:30:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E126228641 for ; Fri, 31 Mar 2017 03:30:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A8386E9DC; Fri, 31 Mar 2017 03:30:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9656F6E9E0 for ; Fri, 31 Mar 2017 03:30:43 +0000 (UTC) Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0ONN033DATR1S250@mailout3.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 31 Mar 2017 12:30:37 +0900 (KST) Received: from epsmges5p3.samsung.com (unknown [182.195.40.70]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170331033037epcas1p32f88c5940964b6535fa84890fdd8e6a1~w2eEaA7u-2355423554epcas1p39; Fri, 31 Mar 2017 03:30:37 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3.samsung.com (EPCPMTA) with SMTP id 99.6B.18112.D5DCDD85; Fri, 31 Mar 2017 12:30:37 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20170331033036epcas5p48e6a32ec3de74fa6f3101476d1c43bef~w2eD6CwEC2535725357epcas5p4p; Fri, 31 Mar 2017 03:30:36 +0000 (GMT) X-AuditID: b6c32a2e-f79506d0000046c0-c1-58ddcd5db933 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 73.23.05013.C5DCDD85; Fri, 31 Mar 2017 12:30:36 +0900 (KST) Received: from localhost.localdomain ([10.113.62.209]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ONN00AXLTQXW150@mmp2.samsung.com>; Fri, 31 Mar 2017 12:30:36 +0900 (KST) From: Seung-Woo Kim To: dri-devel@lists.freedesktop.org, inki.dae@samsung.com, emil.l.velikov@gmail.com Subject: [PATCH libdrm 2/3] exynos/fimg2d: remove unused-function build warning Date: Fri, 31 Mar 2017 12:30:56 +0900 Message-id: <1490931057-30853-3-git-send-email-sw0312.kim@samsung.com> X-Mailer: git-send-email 1.7.4.1 In-reply-to: <1490931057-30853-1-git-send-email-sw0312.kim@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPKsWRmVeSWpSXmKPExsWy7bCmhm7s2bsRB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n8Bi8eLeRRaLKc25FjMmv2SzaFv9gdWB3WPVnA2sHjtn3WX3uN99nMnj3zF2j74tqxgD WKPcbDJSE1NSixRS85LzUzLz0m2VQkPcdC2UFPISc1NtlSJ0fUOClBTKEnNKgTwjAzTg4Bzg Hqykb5fgltEx/zpjwQH2iu7z15kaGLvZuhg5OCQETCSez/bqYuQEMsUkLtxbDxTm4hASmMUo 8XrFDBYI5wejxIbGP6wgVWwCOhL7l/wGs0UEQiWm/bjPDGIzC+RJrN39A8wWFvCX+N/5iw3E ZhFQlZg/v40JxOYVcJOY1XuEGWKbgsSCe2/BajgF3CWev/rJCnKQEFDNs+MlExh5FzAyrGKU SC1ILihOSs81ykst1ytOzC0uzUvXS87P3cQIDudn0jsYD+9yP8QowMGoxMO7Q/BuhBBrYllx Ze4hRgkOZiURXrl9QCHelMTKqtSi/Pii0pzU4kOMpkB3TWSWEk3OB8ZaXkm8oYm5ibmxgYW5 paWJkZI4b+PsZ+FCAumJJanZqakFqUUwfUwcnFINjJ0VPwWKHj++M13y1rfLMuvyNxsFtHOx d91vvJ566VvWu78WPdkCfGtn5AREPfkWf//8nHfVu1xdnhzn+3Jx1qHL+XN5gteEOMQVLYlm ZFsglFf2X2a1Hesno/9qWzSUvvccmCy6zmr2F6UzB1b23cjZ71J99cK68B7BE6WG4urMtyy2 Kk7gmaLEUpyRaKjFXFScCAAqfN4mfQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170331033036epcas5p48e6a32ec3de74fa6f3101476d1c43bef X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?6rmA7Iq57JqwG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbU2VuaW9yIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?U2V1bmctV29vIEtpbRtUaXplbiBQbGF0Zm9ybSBMYWIuG1Nh?= =?UTF-8?B?bXN1bmcgRWxlY3Ryb25pY3MbU2VuaW9yIEVuZ2luZWVy?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170331033036epcas5p48e6a32ec3de74fa6f3101476d1c43bef X-RootMTR: 20170331033036epcas5p48e6a32ec3de74fa6f3101476d1c43bef References: <1490931057-30853-1-git-send-email-sw0312.kim@samsung.com> Cc: tjakobi@math.uni-bielefeld.de, sw0312.kim@samsung.com, robclark@freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Tobias Jakobi --- 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. *