From patchwork Fri Jun 9 10:31:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9777973 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 C5D2E60350 for ; Fri, 9 Jun 2017 10:32:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B53E1285FB for ; Fri, 9 Jun 2017 10:32:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A917E28606; Fri, 9 Jun 2017 10:32:02 +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=ham 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 186C7285FB for ; Fri, 9 Jun 2017 10:32:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751554AbdFIKcA (ORCPT ); Fri, 9 Jun 2017 06:32:00 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:60041 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751531AbdFIKb7 (ORCPT ); Fri, 9 Jun 2017 06:31:59 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0M3jhh-1eAPtA3L6H-00rEqr; Fri, 09 Jun 2017 12:31:45 +0200 From: Arnd Bergmann To: Tomi Valkeinen Cc: Arnd Bergmann , Bartlomiej Zolnierkiewicz , Laurent Pinchart , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: omapdrm: remove unused variable Date: Fri, 9 Jun 2017 12:31:03 +0200 Message-Id: <20170609103143.3095325-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:10Ukyq2XajsbmvX+iNI7OHq9M4v3Kw4mj28xp6k/8WJRk4jTbfk 6jPnQmcN0/NT7WvK1Ap8JVK4Jx8CkALBUQr6enytLDrbSYxmLVgufC54k3lt+HnhGcFSQpG reLLffQyP281n3kTivLSrG1F0W8lBsl8dDvPLUR1L/g81b8UMV6jnPHoA2yZWZ2qinPWpnf 0senlfTHV5S1BRbzi1wbg== X-UI-Out-Filterresults: notjunk:1; V01:K0:bi7TPJz9KDM=:K/QT2p0hfUK9eNQng0Pjno oV8Ykoc6isfBsGHB2nX7aTCgKlsfIvbmm6zClB6E7zhK38lnDrO6B3aLFbIuKIvfxBoKzqTSA nIwPceN6fNBuMGiTavbSMBWCr6+bVLAtffdv9yCeUpsuEijophGigepTNBhPfVqRyu7GrYRXs OJJEhUtbPc7MlPNPMou/utWX0AHZo4xIkBMLcjogVfr+u5pbK0O7IdPPn/bCilwjRNfIMfl29 JRDzCa8htw/HPB72u5wVuy0a5oAdGnPbw8INKu9Q3nbyK2vPAxuCL1g7N26l0RJ6heq+4QVLh jCRUp+jdtY/GpbUBc0s6AZ9GDnAUdqdUePl+RL8S22wv8RAOoUQeSc0rC42IdJ149VAp6Sw5y TB684D132gxpu35XlMg7nTjAK/DCmVAJKmjDRAeEeq9D6K6GQy6cseWhw26wCmAsQ7/PoXLLv aZY6WopmI0V+T7IsETKL0XhOrFO/b4Eo5higAnJYPX6YHufGWM5674hC9YmgyV0QXoND8hcjK nGReafwgWDgGydm7jOO73py9j/wcLuL4ev4A1CBLodR/L1/3naMs6W7EvCNuuC5OHRVzqpYCz 9RGi1xzQ4olABXm5RmR8tLzi89YOQ30gIr83oIB/6vdSHCWxpNkYTy1/BRvHynfGhozpXIVBB gtylNHRj2dHGMyLIIzfNKSp/O8pZfaSXDaZHyQ6aik0MinKlXgprr4X66bVmwwOMazQw= Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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 --- 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;