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: 9864941 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 C2889603FA 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 A21562877A for ; Wed, 26 Jul 2017 13:59:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 96CD828772; Wed, 26 Jul 2017 13:59:15 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6CAC728740 for ; Wed, 26 Jul 2017 13:59:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751441AbdGZN6a (ORCPT ); Wed, 26 Jul 2017 09:58:30 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:51420 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbdGZN6a (ORCPT ); Wed, 26 Jul 2017 09:58:30 -0400 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 Cc: dri-devel@lists.freedesktop.org, Arnd Bergmann , Tomi Valkeinen , Laurent Pinchart , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org 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== Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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;