From patchwork Tue Jun 20 20:30:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9800193 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 546CB600F5 for ; Tue, 20 Jun 2017 20:31:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45FE620007 for ; Tue, 20 Jun 2017 20:31:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3ABE223B32; Tue, 20 Jun 2017 20:31:38 +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 CFB7F20007 for ; Tue, 20 Jun 2017 20:31:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6C9AF6E3E5; Tue, 20 Jun 2017 20:31:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id A17A36E3E5 for ; Tue, 20 Jun 2017 20:31:34 +0000 (UTC) Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0MYLUv-1dIrWR3d7x-00V5Tb; Tue, 20 Jun 2017 22:31:27 +0200 From: Arnd Bergmann To: Liviu Dudau , Brian Starkey , Mali DP Maintainers Subject: [PATCH] drm/arm: hdlcd: remove unused variables Date: Tue, 20 Jun 2017 22:30:38 +0200 Message-Id: <20170620203125.555483-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:lxg2NVAMKTwxCR0yjDYMZUAPWPMrlwm/qcg2ukCV/yjCE3ndQA1 ESeWov3cU2x3cUEV/X6Wn0bAAUhR3Gc+Z447AiAVBJ6AOjfpC72rCIJUbCn1wGvaDUCpxRV Ug/CUZ5tnMfGnDRW51QLOV5549MMjjFlsbuLZvFkGEz4lyzKMJq/HqnKGxJO6ihGMtTctcO 6cLFlRbRaGy4P4iXJGmaQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:THUaAV6UsQ4=:GCheRBolwW2FHMoaNXlyxH Oh/FOxz+CUQ1T3OKEiVHi97MOP0T2vxlF6VVysUMK/hmmC1eevZOShLEciOfba5xmcWedQSoN QsLV2Ig0WQwAATNGMxkEd7GKdp1fxPTWPBZGjwUCrke24YC5MCZGIsvJOuoqyfNYlmxthWkKm Iebwo6h2s0au/rbxgS2F5WpDd/O2Vzv9sYxIZ5OrheMl4zC9LzIocssqSxMm0uj4JMycZIoAF DdJUeNP6Kj5V3bcNZrJMin/ngHvds8t+uR6NmbqIziAtzsdJuzuToTWGy0T5gbg4XlbZ3Sy7q Ovl//erUSZGYBl92lMV8pzS+HqYuPWpUyQJvXF0sj0W9JtGQlfbsOuVzC+wEm/wv8JM6icVLB RrT5mpvw5Uvj6Uhdp0JukCKu31zdemWxvshDy//B+8Tp0XEBi8XsJSxgyxO5JUluac3L4FiL+ AdI3OwDSkGGmijC4ol7RBE2dZ80qmoi7ypm917xZ69xaN6C6tbg6W8hhMTqe+8w4gtKWyep9s HFve0vzvw3v3u835wqSQA/kvXZ8KCMqzJ4YxbaVbqGAq9WEnVYninVcb0H/jfIutFr1ECwwI9 Udk6M3hpowgTyGiDuyQokg2MSigEDZlnMqdXhCUJ5qlAqrGB5lUiJCrU6P+a5+fUXMQY4Y1Mx lAaCRpvosO/rH6PK528dWxGbk15Vy5htsnt/5I9msIkbyJnkHviz/TGgk8pOD5RWTgNI= Cc: dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-kernel@vger.kernel.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 last rework left behind two unused variables: drm/arm/hdlcd_crtc.c: In function 'hdlcd_plane_atomic_update': drm/arm/hdlcd_crtc.c:264:13: warning: unused variable 'src_y' [-Wunused-variable] drm/arm/hdlcd_crtc.c:264:6: warning: unused variable 'src_x' [-Wunused-variable] This removes them. Fixes: b2ae06ae9834 ("drm/arm: hdlcd: Use CMA helper for plane buffer address calculation") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/arm/hdlcd_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arm/hdlcd_crtc.c b/drivers/gpu/drm/arm/hdlcd_crtc.c index 0128ebd318f5..d67b6f15e8b8 100644 --- a/drivers/gpu/drm/arm/hdlcd_crtc.c +++ b/drivers/gpu/drm/arm/hdlcd_crtc.c @@ -261,7 +261,7 @@ static void hdlcd_plane_atomic_update(struct drm_plane *plane, { struct drm_framebuffer *fb = plane->state->fb; struct hdlcd_drm_private *hdlcd; - u32 src_x, src_y, dest_h; + u32 dest_h; dma_addr_t scanout_start; if (!fb)