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: 103463 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp139844qgd; Fri, 9 Jun 2017 03:32:02 -0700 (PDT) X-Received: by 10.84.210.106 with SMTP id z97mr40621340plh.6.1497004322136; Fri, 09 Jun 2017 03:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497004322; cv=none; d=google.com; s=arc-20160816; b=dfxw+zghz9MBxvEc+S5259vyGjqgp5k21sNEvrx6qssaWXqNAK33o5wY0ZGcQGMW/x YUbJwhI6ElkMyH5Z1n7F5OwPkmo0ZFU4vfMS0wzDNftkUSdCbIayb9Wv+z8qIoeCXIAG Q3bWtI4Cu9f96Kl4xp6hxLJwzKnuXRqY+hBaQfuRAb2CtRnB/cXD1WOLD2IwwLpnB6hx /74xpsAlnzyU3bQwJhkxNACx8NjfiqrQUhTAJs7ct0yXkKn7lvzdQXEGnUvpC6xAg4oS YadOhAIa1tf3hlsViz+IA86ih3qSfgJPLJbk1Zs4WX6ymEM3RlVuppm1MAiSqwQPOEvA BeYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ei+gvnKkH17OX8D+Y6BTiv3zoxnUTeHrkKBpkKDZwrw=; b=t8KP4Zw34RDVz1h0ISgrQWUe2FmFRoCc/jsfjRwqwsuruB3x7Th9Fqng4OlrFl4zIf Ga12AON6zw+XE+udYcPj6lrTLQB30YSetp+50SrV/jz00tCXoX9HKOyARatTgekm3wJG 7CHobTNXjgorryobkdAfwcZaDcN+75ZVLaKh7PHbXuaZd7y8GmnubrVE8HirxC1I8SSE rxhnefrrnBgnwjeABaXijdy7aTCJMpMQE9jo98xD4+n5zM8dD6iSLHxWODINmGYgox6l eqXKeRyGZJrUAbDO4Sd9dF+MfOgf72HNeSyWmm/e6ZPtjHKK1Xg7EjwCR/hyPDOphtLJ BTbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 142si6837043pgg.72.2017.06.09.03.32.01; Fri, 09 Jun 2017 03:32:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751554AbdFIKcA (ORCPT + 3 others); 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 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 --- drivers/video/fbdev/omap2/omapfb/dss/core.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;