From patchwork Tue Nov 17 15:45:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 7638601 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4F5899F392 for ; Tue, 17 Nov 2015 15:51:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 84ACF2049C for ; Tue, 17 Nov 2015 15:51:00 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id A919420495 for ; Tue, 17 Nov 2015 15:50:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EA2F96E41C; Tue, 17 Nov 2015 07:50:58 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 344 seconds by postgrey-1.34 at gabe; Tue, 17 Nov 2015 07:50:56 PST Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) by gabe.freedesktop.org (Postfix) with ESMTPS id ECADF6E41C for ; Tue, 17 Nov 2015 07:50:56 -0800 (PST) Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0MYrLj-1ZtTDQ46tf-00VgIC; Tue, 17 Nov 2015 16:45:04 +0100 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] drm/exynos: remove unused variables Date: Tue, 17 Nov 2015 16:45:01 +0100 Message-ID: <3867500.zoI62Joc47@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <9569056.LBRz4v8fSj@wuerfel> References: <9569056.LBRz4v8fSj@wuerfel> MIME-Version: 1.0 X-Provags-ID: V03:K0:TwhPjKELF/lQvy6TMmFFEXAMTbXe9YvAWWgsFYo+OcsW1Y73zhn 81XLnCpL0pAYGOtUSGm0X9v+76SoQo4GZ/4hIUlX5u+7XtLstTMQaewHdUiVRyGqM7Euulx bA49BEb5UDCWAZKNxtMq8FNaMcA1nnJORxj7P4yyeivJ4YrCdlneYYAjFuXJEeFXgY6hCu+ J7gcsHquQ27de8sGGNCpQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:pZGWpscAmLg=:R23JNkJP2d0TIz3nhau1Tf KqSz5O/MZ1WIRCcF2N+ynOqCM3iSJ9mYKgUW8QZI+Qg8l/Ov0Yf3IZvskbOCJE1jugtj37euR 1CCoblTWgO/FKHy9MAIo0FnVpvWj4tNawABnKK8UnOXT9iRcyHfL1Ffef+20dUVqOKxLk0HaA 2ttKMeICDtT7S/mq7ske5LSKKi7w9FafXV/syZEsGpWO6//2tCVXpxPwbpODkDlzsRVzBTbaI ZIQ6Z8H60jTVFPfmSvsZAubYrb2/E7DEgtf9+43ezG5ilBKw5qprIgSnRWgO0/av24l+jagq5 PSxLueTlmtKtKNbB8UO2jDo2OAKB/bGWDYhLRa5jrUutULzHagATvRuMjClY41G1bv2XeTA5A oSl6jJHeZ8rGF+zbiuXypE0Mqte63H1nrJ+rsPYUN2S9bnZBGPMozi+52aVgV7SCt7u9VPuX+ 61GVGzMyt+1GIEdtNl7BKwMmItXPwaUAGDmXzKUa3KAdXOq5BLheNQMDntTiI+rrOz6eitHL1 fAmYS/hHedQFajknwCSNT8sa6BUN/dTGA7scaXYY11tqc5+mw9yTCnQJ0LDlLy1L+6NbLRw/X 5mz8gCUj9znrh8XKEizb89Y0i1BABxuYML6cY+BPIIlfkGswakXzfUiye6O19gpth0M7VSJrG 2i5ye5+RJXMxRiAAFOtA/ApQG4kOMkB1s9RK0q7XQ+5Xn+bKFg7ZCHTWiNxmiYa81t8ERUByu pbxKrqy+c4W0hssb Cc: linux-samsung-soc@vger.kernel.org, Seung-Woo Kim , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kyungmin Park 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP After a recent change, two variables were left unused: exynos/exynos5433_drm_decon.c: In function 'decon_enable': exynos/exynos5433_drm_decon.c:381:6: warning: unused variable 'i' [-Wunused-variable] exynos/exynos5433_drm_decon.c:380:6: warning: unused variable 'ret' [-Wunused-variable] This removes them too. Signed-off-by: Arnd Bergmann Fixes: 186ba87a6e31 ("drm/exynos: add pm_runtime to DECON 5433") diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index edfd6e390ef7..2ac1d4d14368 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -377,8 +377,6 @@ static void decon_swreset(struct decon_context *ctx) static void decon_enable(struct exynos_drm_crtc *crtc) { struct decon_context *ctx = crtc->ctx; - int ret; - int i; if (!test_and_clear_bit(BIT_SUSPENDED, &ctx->flags)) return;