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: 108765 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp832181qge; Wed, 26 Jul 2017 06:58:31 -0700 (PDT) X-Received: by 10.98.20.21 with SMTP id 21mr949343pfu.29.1501077511567; Wed, 26 Jul 2017 06:58:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501077511; cv=none; d=google.com; s=arc-20160816; b=mIs6ylV0hZBr9lmN7HCmTuUxw6o308Gl1uz+baLgOll9HL3+dzPV2yi7BphIF+9nF1 3Wxub3FZHo1ZoHg7vZo41SYCCfgf00jHRH5tk5C2W+ZhZIz9ffIJZPYW79YH062xiULq Bfu3eoU8J4go6Ih1h0yQ+G9/+3IbYOm5BT1g+hKYFGe07g4rcJPwhHN2NiKOBJLWm70z NGSZaTWcWp8PZFSgz90JMCXaOAfPlEmD0OP+Sr8Bfg51VCKuQWeHakbHH3TYm3XBR4pW 2+2qAfhvJnZtUsJ9OhKSbPOZ7QEsoNLlVfawMDkdQPI1wtgYy0VWohiTmJPCiL/nZKoc AhEA== 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=OxmRv5IweYWbGLzC0SM0g17TdmSulVTFlfMobQ1nKg0=; b=Vq1azmnInjnZ2799UZEg0vl9zc6GpfaCGZiicbAo1Pp6nqrkIEF6JqaJUsIDpWT1r7 xWxkdybQGnJ9J4KOGgmVfy26LYk6egR96L3k2obwHVcHACNcyrXuat7w3PY7XVMR6s4a 2G9ABq7M65qhtbaqjDWMF5G4DSaadV3f/p5oYc0PJKcff1gbmzR1+q4K6TXbTpf7Gb6+ Kjj+zrrKvuT5zm/2hUgqw4vzF74kb8/aBWBdrbtJ1u5Qb+cgjxYVhzhztSyvi8YbFqcq 51UNmDB/GsQNQ5G5melVvMftoyCnMczL6P90O413CgJCFKlz/6JAX3QzU7gcZzXvBBMc gZ1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-fbdev-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 q129si9744440pga.763.2017.07.26.06.58.31; Wed, 26 Jul 2017 06:58:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-fbdev-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-fbdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-fbdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751441AbdGZN6a (ORCPT + 2 others); 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-Prov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bdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@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 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(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" 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;