From patchwork Thu Aug 3 11:50:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9878795 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 45DF5603B4 for ; Thu, 3 Aug 2017 11:51:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D3A8288B7 for ; Thu, 3 Aug 2017 11:51:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30042288D7; Thu, 3 Aug 2017 11:51:45 +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 0AD86288B7 for ; Thu, 3 Aug 2017 11:51:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE1F36E16C; Thu, 3 Aug 2017 11:51:41 +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.73]) by gabe.freedesktop.org (Postfix) with ESMTPS id CC8486E16C for ; Thu, 3 Aug 2017 11:51:39 +0000 (UTC) Received: from wuerfel.lan ([78.43.238.10]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0M7Jry-1dQnsw2U5u-00x7DJ; Thu, 03 Aug 2017 13:51:32 +0200 From: Arnd Bergmann To: Rob Clark , Jordan Crouse Subject: [PATCH 1/3] drm/msm: remove unused variable Date: Thu, 3 Aug 2017 13:50:46 +0200 Message-Id: <20170803115130.3448850-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:cCCZZnHxjarHSFz+4ANr8bCqRxreeuZnW8fXSo/Eq8fEPEzgumR TFFXx8SjhNjzBm6MS9O6Xr3yGLaif3JeQoCaAJTuhGQ1kT8DiaT2VNs4JNt0qhDMwkovC1p RTS7miAhddpnNMg7zvO91JxCkOYKXoT7AKtofyF0h2dZJLbDG+1solsNFsHmH3GdtYf9MlN Dr1BFAd4n4ErC1E0Bw3rQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:p4Fw0dqU+L0=:tPbRfp1V2HuuzNTkWHy1Nl yLiP3n6nIDQ0mBXufG33uFsqQ2QESHAWMCtVjcf2on4ab0neY2TMODgIlv/p7fpHoBVNVzwvo fReQNfBuBbNfyH0IINrP20segxZgXeR5NqfmgbNCDt/q4+J5MDkslHIY2Dv3zn2sR0oXrWGfi SGPjz0nf27+NUNV+UvvpdbAwgsi/IGKQyJNXT4XBuqBa7pL9fuuNOLQO5yrHN5p8Z1ZeP3KBM RFXWZ1LUVOQPlZSRKCKenXXd0zirRFw43j2+SrKn89zcUBpdCZV8BSLdxF70GOIg9Y4lAsyh9 JB2A6aDULxPPJxJJgUCfmy/Th2nM2JsAtsgePUelmsSc3UZYJZMQkmuO3o6leZFLa1bWbKCay RIzJeXV0HyVtYW1ajPgkFu9zs+8hvrry+zVBnQHtQiu1SWxRkFoDJtYVvexogjZAl//ZlzoEM 5GzolZ7V8JwoyCRFbJk73knJyOYg6PVJbpMuXH4TyPCPQnAp1CaNNdAMA9OSJYJDUZq0vXn6k TmRL7v3jJem0k8aaPVY8QfbN3UiTmWDEnaLbcwZwjl8q2DqJDKRAthzhfuQyi5g3BWhpqtqdd uRPsFmeFWI5b5Y3qn6+9yPOvIXZkIdORpMHaWAK+66qmJPbLUNipplnU709ys86O+3sEPZ8nE EtcbX80JO9Nv9G1TKDzNRlJjBl6X4yqUk7Wudgfa93vIttBo87YEbtdLMHjHYWXOCgmwnIcTs HP0rDaPj0jCr4VabX1Zj5O3Pv6QoaMKwUuuMKg== Cc: Arnd Bergmann , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Bjorn Andersson , freedreno@lists.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 A cleanup left behind an unused variable that we have to remove in order to avoid this harmless warning: drivers/gpu/drm/msm/adreno/a5xx_gpu.c: In function 'a5xx_zap_shader_init': drivers/gpu/drm/msm/adreno/a5xx_gpu.c:493:19: error: unused variable 'a5xx_gpu' [-Werror=unused-variable] Fixes: 8d6f08272b6f ("drm/msm: Remove uneeded platform dev members") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c index ea0f6e5b3b1e..a0f69b2e593a 100644 --- a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c +++ b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c @@ -490,7 +490,6 @@ static int a5xx_zap_shader_init(struct msm_gpu *gpu) { static bool loaded; struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu); - struct a5xx_gpu *a5xx_gpu = to_a5xx_gpu(adreno_gpu); struct platform_device *pdev = gpu->pdev; int ret;