From patchwork Wed Jul 26 13:57:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9864929 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 0DBD06038C for ; Wed, 26 Jul 2017 13:59:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFCFF28769 for ; Wed, 26 Jul 2017 13:59:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE71A28793; Wed, 26 Jul 2017 13:59:14 +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 3ED3A28769 for ; Wed, 26 Jul 2017 13:59:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7ABA56E7AB; Wed, 26 Jul 2017 13:58:29 +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 [212.227.17.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6B9D56E7AB for ; Wed, 26 Jul 2017 13:58:27 +0000 (UTC) Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0LqWMz-1e5Hf10LgH-00e6jo; Wed, 26 Jul 2017 15:58:18 +0200 From: Arnd Bergmann To: Bartlomiej Zolnierkiewicz Subject: [PATCH RESEND] fbdev: omapfb: remove unused variable Date: Wed, 26 Jul 2017 15:57:55 +0200 Message-Id: <20170726135816.2216688-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:PNI2iitCMS12fLKLiCVEbKsMGBsS312DAXJ29Q3iVEIUg0l1jN/ LjuSxLzQpRxuM9vgWy/RKIdBNXDWbxTSbGkGqbjrUL25rUCpsvpf6E5wFZgujLVgr/GP7TG kHY9gCkzYdIe1c5050xGbR23vzFgxYkksSKWe0rCoLEOxqV7v2YLoVuUW46LUrJlfCTwOPg 3R/1TqNeZYZth2+5S/TdA== X-UI-Out-Filterresults: notjunk:1; V01:K0:12Umi5y+8o0=:oIzi66BhluMpfoyTEV26/X cbHuL+ZJI0xKZ/e/uZUrrBk7t5PSNmNDYyRn/j2Ev3HcHkqH+eOfqpHxNy5J+flZ508SG28Xf 3xrz4SFbnaswr4fI4wQfA/6Fkic18HCS4pZoC5Hn6CT9dUQfns9mj3+OW1uojTzcfSmCaKZih U7QuutUH4Mny7CeqwHFvYErrVkyf1hAFeQtroD5VIsZtvmX7U9+r5mbxSieGULmJtMhJLtnpS kn8g2FyVJRECyA5EPMP+09HgyhtRbt4QGv3oaUXXDUMpYrLWXQFMzBRhgKN/CR69XAbktzH+I Geso1jfBkCSuZAhBhe3+oAvQjfF/kU1kKmV5Cm9SNQJuJYn9YRTi48WMAyOw3GLxQx2njV3Br BKkywcUS/+j7W5OgE1iPctN/bQoM3xs1LU1D/Uk0dqXV7OKJpveK79RLlaV89YO+x09TpjtIp U4YzjYU93u5JroquyrQ803V+lzAoaN36sj3am5Rgn+J4+aCLiG8TpRAYV5LWY5/tyOFTjobAW JKiOVVVQt40FJKVScHirXmvKvxOk5KQ3a+D+bFI4/n7XGPGhIICDGF26UMFyxy1GUF3j/QZ4T nxsCJob3DvfxiPqKrLOUEBecYhdEXAPqx+MIqOAQxktPgh3fs4WSMhJpOz3PofcUHy/NTEJ8e 8HNdERQI2MgE7BF1Dqzyb4t0RYQar4WvaQz6V/PvFJfFtTFNH+3qpO/9XmV5ylyH9s2fy1RUO 7cZaqQTaJfkm96xWvHJ2/NDAFF7kSWQxrgo3GQ== Cc: linux-fbdev@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Tomi Valkeinen , Laurent Pinchart , linux-omap@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 Removing the default display name left a harmless warning: fbdev/omap2/omapfb/dss/core.c: In function 'omap_dss_probe': fbdev/omap2/omapfb/dss/core.c:196:30: error: unused variable 'pdata' [-Werror=unused-variable] This removes the now-unused variable as well. Fixes: 278cba7eaf54 ("drm: omapdrm: Remove unused default display name support") Signed-off-by: Arnd Bergmann Reviewed-by: Laurent Pinchart --- Originally submitted on June 9, no reply other than the Reviewed-by tag. The patch is still needed --- drivers/video/fbdev/omap2/omapfb/dss/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/core.c b/drivers/video/fbdev/omap2/omapfb/dss/core.c index eecf695c16f4..09e5bb013d28 100644 --- a/drivers/video/fbdev/omap2/omapfb/dss/core.c +++ b/drivers/video/fbdev/omap2/omapfb/dss/core.c @@ -193,7 +193,6 @@ static struct notifier_block omap_dss_pm_notif_block = { static int __init omap_dss_probe(struct platform_device *pdev) { - struct omap_dss_board_info *pdata = pdev->dev.platform_data; int r; core.pdev = pdev;